We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c171881 commit bb3aa37Copy full SHA for bb3aa37
1 file changed
test/main.c
@@ -345,7 +345,11 @@ void* worker(void* arg) {
345
if(test_report(description, result)){
346
printf("PEER %d FAIL.\n", thread_id+1);
347
// Return error code instead of exiting entire process
348
+#ifdef _WIN32
349
+ return (DWORD)(intptr_t)(thread_id+1);
350
+#else
351
return (void*)(intptr_t)(thread_id+1);
352
+#endif
353
}
354
355
#ifdef _WIN32
0 commit comments