Skip to content

Commit fa03a19

Browse files
Fix type
1 parent 0c19762 commit fa03a19

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/regression/13-privatized/97-atomic-p.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ extern void __VERIFIER_atomic_end();
77

88
int g;
99

10-
void fun() {
10+
void* fun(void* arg) {
1111
g = 1;
12+
return NULL;
1213
}
1314

1415
int main(void) {
1516
pthread_t thread;
16-
pthread_create(&thread, NULL, (void*)fun, NULL);
17+
pthread_create(&thread, NULL, fun, NULL);
1718

1819
__VERIFIER_atomic_begin();
1920
g = 1;

0 commit comments

Comments
 (0)