silence warning
authorBrian <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 02:12:32 +0000 (20:12 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 02:12:32 +0000 (20:12 -0600)
progs/xdemos/glthreads.c

index 6c7029b6ecfc8060d965b824ef519b25bef95ac6..e9c654c649dea018e82efa746d17ddbc9a435049 100644 (file)
@@ -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)