summaryrefslogtreecommitdiff
path: root/parallel/glunix/patches/patch-ae
blob: ffb911789c27d063562653fdc1d1075c99d21d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ae,v 1.2 2000/05/27 09:53:37 wiz Exp $

--- glunix/src/perf/mperf.cc.orig	Fri May 26 12:38:00 2000
+++ glunix/src/perf/mperf.cc	Fri May 26 12:38:40 2000
@@ -137,7 +137,7 @@
 		      Perf_IncomingReturnTimeTicket);
 
 #ifdef DEBUG
-    debug_cleanupCallbacks->Add((void (*)(int, void *))Perf_Cleanup, NULL);
+    debug_cleanupCallbacks->Add((void (*)(int, void *))Perf_Cleanup, 0);
 #endif
 
     return True;
@@ -188,7 +188,7 @@
     MsgPerf_CalibrateDaemonReply *reply;
     struct timeval t1, t2;
     int ctr, offset;
-    longlong_t startTime, stopTime, remoteTime;
+    quad_t startTime, stopTime, remoteTime;
     double min, max, totalValue, var;
     int numValues, totalEvents;
     int minMsgTime;       // The minimum round-trip message time