Skip to content

Commit

Permalink
Update benchmarks/spinlock_bench/spinlock_bench.c
Browse files Browse the repository at this point in the history
Co-authored-by: Xiang Xiao <xiaoxiang781216@gmail.com>
  • Loading branch information
TaiJuWu and xiaoxiang781216 authored Nov 3, 2023
1 parent 9d81b42 commit 02a4d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/spinlock_bench/spinlock_bench.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit 02a4d2b

Please sign in to comment.