From 65d1450e2745be49a8535bffd092883126b78845 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 18 Aug 2011 17:56:56 +0200 Subject: core: fix compilation warning under FreeBSD --- src/gui/gui-focus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui-focus.c b/src/gui/gui-focus.c index a73e4b695..3e105d6b1 100644 --- a/src/gui/gui-focus.c +++ b/src/gui/gui-focus.c @@ -49,7 +49,7 @@ snprintf (str_value, sizeof (str_value), "%d", __int); \ hashtable_set (hashtable, __name, str_value); #define FOCUS_TIME(__name, __time) \ - snprintf (str_value, sizeof (str_value), "%ld", __time); \ + snprintf (str_value, sizeof (str_value), "%ld", (long)__time); \ hashtable_set (hashtable, __name, str_value); #define FOCUS_PTR(__name, __pointer) \ if (__pointer) \ -- cgit v1.2.3