Skip to content

Commit

Permalink
tests: Fix test 003 thread failure
Browse files Browse the repository at this point in the history
Fix tests/s-thread.c failure from compiler optimization in ubuntu24.04,
clang version 18.1.3

Signed-off-by: choi wonsick <[email protected]>
  • Loading branch information
king258436 committed Sep 2, 2024
1 parent 7e07a43 commit 36c40a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/s-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static int b(void *arg)

static int c(void *arg)
{
return *(int *)arg;
return *(long *)arg;
}

static void *foo(void *arg)
Expand Down

0 comments on commit 36c40a1

Please sign in to comment.