src/raytracer.cc
branchpyrit
changeset 83 e3a2a5b26abb
parent 82 930a2d3ecaed
child 84 6f7fe14782c2
--- 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);