summaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glthreads.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-04-03 20:12:32 -0600
committerBrian <[email protected]>2008-04-03 20:12:32 -0600
commit96b4ac05be90df6ada88eb7bd64283aff4964655 (patch)
treecb2a5680b6241cccc27723fd0ccfa1a619d023b1 /progs/xdemos/glthreads.c
parente786924bf08583f74fff135a211c040843abd0bb (diff)
silence warning
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 6c7029b6ecf..e9c654c649d 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)