Revision: 14498
Author: adrian.chadd
Date: Thu Mar 25 07:14:10 2010
Log:
Fix portability bug introduced with Issue #94.
uint64_t -> u_int64_t
http://code.google.com/p/lusca-cache/source/detail?r=14498
Modified:
/branches/LUSCA_HEAD/libcore/tools.c
=======================================
--- /branches/LUSCA_HEAD/libcore/tools.c Wed Mar 24 23:13:45 2010
+++ /branches/LUSCA_HEAD/libcore/tools.c Thu Mar 25 07:14:10 2010
@@ -151,7 +151,7 @@
}
double
-uint64_percent(uint64_t a, uint64_t b)
+uint64_percent(u_int64_t a, u_int64_t b)
{
return (double) b ? ((double) (100.0 * (double) a / (double) b +
0.5)) : 0.0;
}
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.