xmlsec r1002 - in trunk: . apps
- From: aleksey svn gnome org
- To: svn-commits-list gnome org
- Subject: xmlsec r1002 - in trunk: . apps
- Date: Tue, 26 Aug 2008 16:18:38 +0000 (UTC)
Author: aleksey
Date: Tue Aug 26 16:18:38 2008
New Revision: 1002
URL: http://svn.gnome.org/viewvc/xmlsec?rev=1002&view=rev
Log:
fix integer division
Modified:
trunk/ChangeLog
trunk/apps/xmlsec.c
Modified: trunk/apps/xmlsec.c
==============================================================================
--- trunk/apps/xmlsec.c (original)
+++ trunk/apps/xmlsec.c Tue Aug 26 16:18:38 2008
@@ -1202,7 +1202,7 @@
(xmlSecAppCmdLineParamGetInt(&repeatParam, 1) > 0)) {
repeats = xmlSecAppCmdLineParamGetInt(&repeatParam, 1);
- fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, total_time / (CLOCKS_PER_SEC / 1000));
+ fprintf(stderr, "Executed %d tests in %ld msec\n", repeats, (1000 * total_time) / CLOCKS_PER_SEC);
}
goto success;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]