diff -r 930a2d3ecaed -r e3a2a5b26abb src/raytracer.cc --- a/src/raytracer.cc Thu Apr 24 13:55:11 2008 +0200 +++ b/src/raytracer.cc Thu Apr 24 18:12:32 2008 +0200 @@ -404,7 +404,7 @@ pthread_mutex_unlock(&sample_queue_mutex); sampdone += my_count; - dbgmsg(2, "\b\b\b\b\b\b\b\b%2d%% done", (sampdone - sample_queue_count)*100/sampnum); + dbgmsg(2, "\b\b\b\b\b\b\b\b%2d%% done", ((long)sampdone - sample_queue_count)*100/sampnum); pthread_mutex_lock(&sampler_mutex);