From: Dale Weiler Date: Thu, 7 Mar 2013 21:38:46 +0000 (+0000) Subject: They see me roll 'n, casting, so far they just think I'm implicit casting dirty,... X-Git-Tag: before-library~104 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f2380a2faa749fc3130abb13856eed888658d384;p=xonotic%2Fgmqcc.git They see me roll 'n, casting, so far they just think I'm implicit casting dirty, implicity casting dirty .. --- diff --git a/test.c b/test.c index 97ac09f..9bb3f55 100644 --- 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); /*