summaryrefslogtreecommitdiff
path: root/tools/ivythroughput.cpp
diff options
context:
space:
mode:
authorbustico2011-01-26 15:54:53 +0000
committerbustico2011-01-26 15:54:53 +0000
commit0cebd5d6540937019be80429679472a1b50741c2 (patch)
tree0421767e6f4d9d29849ff5bc4eff976474b47765 /tools/ivythroughput.cpp
parent4d42efafcb4d2ffed6af12a1501f65beab3593aa (diff)
downloadivy-c-0cebd5d6540937019be80429679472a1b50741c2.zip
ivy-c-0cebd5d6540937019be80429679472a1b50741c2.tar.gz
ivy-c-0cebd5d6540937019be80429679472a1b50741c2.tar.bz2
ivy-c-0cebd5d6540937019be80429679472a1b50741c2.tar.xz
fix some warning
Diffstat (limited to 'tools/ivythroughput.cpp')
-rw-r--r--tools/ivythroughput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ivythroughput.cpp b/tools/ivythroughput.cpp
index d99588e..7d6136f 100644
--- a/tools/ivythroughput.cpp
+++ b/tools/ivythroughput.cpp
@@ -665,7 +665,7 @@ void doNothingAndSuicideCB (TimerId id, void *user_data, unsigned long delta)
printf (".");
long time = (long) user_data;
time = ((time-2)/2) * 1000;
- printf ("DBG> client hanging for %d milliseconds\n", time);
+ printf ("DBG> client hanging for %ld milliseconds\n", time);
usleep (time * 1000);
printf ("DBG> client suicide\n");
_exit(42);