windows-64-bit-type-safety-20051105
[openafs.git] / src / rx / rx_event.c
index 402c378..d209a2d 100644 (file)
@@ -202,10 +202,10 @@ _rxevent_Post(struct clock *when, void (*func) (), void *arg, void *arg1,
     if (rx_Log_event) {
        struct clock now;
        clock_GetTime(&now);
-       fprintf(rx_Log_event, "%d.%d: rxevent_Post(%d.%d, %lx, %lx, %lx, %d)\n",
+       fprintf(rx_Log_event, "%d.%d: rxevent_Post(%d.%d, %lp, %lp, %lp, %d)\n",
                (int)now.sec, (int)now.usec, (int)when->sec, (int)when->usec,
-               (unsigned long)func, (unsigned long)arg,
-               (unsigned long)arg1, arg2);
+               func, arg,
+               arg1, arg2);
     }
 #endif
 
@@ -327,10 +327,10 @@ rxevent_Cancel_1(register struct rxevent *ev, register struct rx_call *call,
     if (rx_Log_event) {
        struct clock now;
        clock_GetTime(&now);
-       fprintf(rx_Log_event, "%d.%d: rxevent_Cancel_1(%d.%d, %lx, %lx)\n",
+       fprintf(rx_Log_event, "%d.%d: rxevent_Cancel_1(%d.%d, %lp, %lp)\n",
                (int)now.sec, (int)now.usec, (int)ev->eventTime.sec,
-               (int)ev->eventTime.usec, (unsigned long)ev->func,
-               (unsigned long)ev->arg);
+               (int)ev->eventTime.usec, ev->func,
+               ev->arg);
     }
 #endif
     /* Append it to the free list (rather than prepending) to keep the free