From 7d23cc522e416ae1f3d2d53292ef438d1a08b0d7 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 22 Feb 2008 08:01:00 -0800 Subject: Version abc80222 --- src/base/cmd/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/cmd') diff --git a/src/base/cmd/cmd.c b/src/base/cmd/cmd.c index 8640b7a8..4cac6190 100644 --- a/src/base/cmd/cmd.c +++ b/src/base/cmd/cmd.c @@ -169,7 +169,7 @@ int CmdCommandTime( Abc_Frame_t * pAbc, int argc, char **argv ) pAbc->TimeTotal += pAbc->TimeCommand; fprintf( pAbc->Out, "elapse: %3.2f seconds, total: %3.2f seconds\n", - (float)pAbc->TimeCommand / CLOCKS_PER_SEC, (float)pAbc->TimeTotal / CLOCKS_PER_SEC ); + (float)(1.0 * pAbc->TimeCommand / CLOCKS_PER_SEC), (float)(1.0 * pAbc->TimeTotal / CLOCKS_PER_SEC) ); /* { FILE * pTable; -- cgit v1.2.3