[libdispatch-changes] [117] trunk/testing/dispatch_starfish.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 3 16:39:30 PST 2009
Revision: 117
http://trac.macosforge.org/projects/libdispatch/changeset/117
Author: robert at fledge.watson.org
Date: 2009-11-03 16:39:30 -0800 (Tue, 03 Nov 2009)
Log Message:
-----------
Use alternative format string for uint64_t to make printable on 32-bit.
Modified Paths:
--------------
trunk/testing/dispatch_starfish.c
Modified: trunk/testing/dispatch_starfish.c
===================================================================
--- trunk/testing/dispatch_starfish.c 2009-11-04 00:38:43 UTC (rev 116)
+++ trunk/testing/dispatch_starfish.c 2009-11-04 00:39:30 UTC (rev 117)
@@ -61,7 +61,7 @@
printf("lap: %ld\n", lap_count_down);
printf("count: %lu\n", COUNT);
- printf("delta: %llu ns\n", delta);
+ printf("delta: %ju ns\n", (uintmax_t)delta);
printf("math: %Lf ns / lap\n", math);
for (i = 0; i < COUNT; i++) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20091103/903b2f81/attachment.html>
More information about the libdispatch-changes
mailing list