diff --git a/benchmarks/spinlock_bench/spinlock_bench.c b/benchmarks/spinlock_bench/spinlock_bench.c index 327489c94e3..cc30f69395f 100644 --- a/benchmarks/spinlock_bench/spinlock_bench.c +++ b/benchmarks/spinlock_bench/spinlock_bench.c @@ -51,7 +51,7 @@ struct thread_parmeter_s static FAR void *thread_spinlock(FAR void *parameter) { - FAR int *result = ((struct thread_parmeter_s *)parameter)->result; + FAR int *result = ((FAR struct thread_parmeter_s *)parameter)->result; FAR spinlock_t *lock = ((struct thread_parmeter_s *)parameter)->lock; for (int i = 0; i < TEST_NUM; i++)