summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Kendrick (monotony) <rjek@rjek.com>2012-10-11 19:11:27 (GMT)
committer Rob Kendrick (monotony) <rjek@rjek.com>2012-10-11 19:11:27 (GMT)
commitf26ccd671e8106f8cb73769d487c4c63e907a284 (patch)
treede21be98ee7cc4ecd5585ab791857c8f167dface
parent9445ddff205f082942129a0273a041f9359f8bd6 (diff)
downloadsqueeze-master.tar.gz
squeeze-master.tar.bz2
Another abuse of clock fixed.HEADmaster
-rw-r--r--squeeze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/squeeze.c b/squeeze.c
index e911cef..5d6dc73 100644
--- a/squeeze.c
+++ b/squeeze.c
@@ -885,7 +885,7 @@ static int squeeze(char *in, char *out)
}
}
if (verbose > 1) fprintf(stderr, "-- loaded %" PRIdPTR " bytes in %d csec\n", size, ticks());
- t = clock();
+ t = (clock() * 100) / CLOCKS_PER_SEC;
if (isdata) top = compresscode(code, size, (-DATABYTES) + 4);
else top = compress(code, size, info.exec - info.load);