diff options
-rw-r--r-- | progs/xdemos/glthreads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glthreads.c b/progs/xdemos/glthreads.c index 6c7029b6ec..e9c654c649 100644 --- a/progs/xdemos/glthreads.c +++ b/progs/xdemos/glthreads.c @@ -505,7 +505,7 @@ main(int argc, char *argv[]) for (i = 0; i < numThreads; i++) { pthread_create(&WinThreads[i].Thread, NULL, thread_function, (void*) &WinThreads[i]); - printf("glthreads: Created thread %p\n", WinThreads[i].Thread); + printf("glthreads: Created thread %p\n", (void *) WinThreads[i].Thread); } if (MultiDisplays) |