]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
They see me roll 'n, casting, so far they just think I'm implicit casting dirty,...
authorDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 21:38:46 +0000 (21:38 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 7 Mar 2013 21:38:46 +0000 (21:38 +0000)
test.c

diff --git a/test.c b/test.c
index 97ac09f9a6d8f8cc6e42a807370a5ef1789a4456..9bb3f5577579e647d22762a42b1005ea3a21900b 100644 (file)
--- a/test.c
+++ b/test.c
@@ -953,7 +953,7 @@ void task_schedualize(size_t *pad) {
     size_t j        = 0;
 
     for (; i < vec_size(task_tasks); i++) {
-        con_out("test #%u %*s", i + 1, (int)log10(vec_size(task_tasks)) - (int)(log10(i + 1)), "");
+        con_out("test #%u %*s", i + 1, (int)log10((double)vec_size(task_tasks)) - (int)(log10(i + 1)), "");
 
         util_debug("TEST", "executing task: %d: %s\n", i, task_tasks[i].tmpl->description);
         /*