Get rid of warning.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1828 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2005-06-17 16:00:27 +00:00
parent 2107534a53
commit 536b3aa524
+3 -2
View File
@@ -681,8 +681,9 @@ RenderLevelMasks (int offset)
t += clock() - t1;
if (frames_done == MAP_WIDTH)
{
fprintf (stderr, "frames/sec: %d/%ld(msec)=%f\n", frames_done, t,
frames_done / ((double)t / CLOCKS_PER_SEC));
fprintf (stderr, "frames/sec: %d/%ld(msec)=%f\n", frames_done,
(long int) (((double)t / CLOCKS_PER_SEC) * 1000.0 + 0.5),
frames_done / ((double)t / CLOCKS_PER_SEC + 0.5));
frames_done = 1;
t = clock () - t1;
}