From: Timo Kokkonen Date: Fri, 2 Apr 2010 12:56:44 +0000 (+0300) Subject: Main loop: Suppress a compiler warning X-Git-Url: http://git.itanic.dy.fi/?p=sdl-planets;a=commitdiff_plain;h=3e11037eea894c9fb79c16ed468a24ac517691fc Main loop: Suppress a compiler warning Signed-off-by: Timo Kokkonen --- diff --git a/main.c b/main.c index 7f5e803..02ff5b2 100644 --- a/main.c +++ b/main.c @@ -237,7 +237,7 @@ static void loop(SDL_Surface *screen, int num_of_planets, double total_mass, printf(" \rFrames/s: %.2f, steps/s: %.2f, planets: %d" - ", scale %.2f, zoom %.2f, step %d", + ", scale %.2f, zoom %.2f, step %ld", last_fps, last_sps, planets, status.time_scale, camera.zoom, step_count); fflush(stdout);