DEVEL15-ubik-lwp-createprocess-64-bit-20080630
authorThomas Galliano <thom@net2hardware.com>
Tue, 1 Jul 2008 04:06:20 +0000 (04:06 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Jul 2008 04:06:20 +0000 (04:06 +0000)
LICENSE IPL10
FIXES 104732

use NULL and not (void *)0 to avoid issues on 64 bit platforms

(cherry picked from commit e22a5cc8afe889d5d76ecf44a63860e12f1effbf)

src/ubik/ubik.c

index 68b127f..9ca85f5 100644 (file)
@@ -299,7 +299,7 @@ ubik_ServerInitCommon(afs_int32 myHost, short myPort,
     assert(pthread_create(&rxServerThread, &rxServer_tattr, (void *)rx_ServerProc, NULL) == 0);
 #else
     LWP_CreateProcess(rx_ServerProc, rx_stackSize, RX_PROCESS_PRIORITY,
-              (void *)0, "rx_ServerProc", &junk);
+              NULL, "rx_ServerProc", &junk);
 #endif
 
     /* do basic initialization */