summaryrefslogtreecommitdiff
path: root/progs/xdemos/glthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/xdemos/glthreads.c')
-rw-r--r--progs/xdemos/glthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/xdemos/glthreads.c b/progs/xdemos/glthreads.c
index 989697fbcaa..6c7029b6ecf 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 %u\n", (unsigned int) WinThreads[i].Thread);
+ printf("glthreads: Created thread %p\n", WinThreads[i].Thread);
}
if (MultiDisplays)