From 3e11037eea894c9fb79c16ed468a24ac517691fc Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Fri, 2 Apr 2010 15:56:44 +0300 Subject: [PATCH] Main loop: Suppress a compiler warning Signed-off-by: Timo Kokkonen --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.0