diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-18 17:56:56 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-18 17:56:56 +0200 |
commit | 65d1450e2745be49a8535bffd092883126b78845 (patch) | |
tree | a830bdec88f5342195fd594a13aa8ccf1cc7eb67 | |
parent | 27afc1e7d25b9e260b5d03ef19576397fb63204d (diff) | |
download | weechat-65d1450e2745be49a8535bffd092883126b78845.zip |
core: fix compilation warning under FreeBSD
-rw-r--r-- | src/gui/gui-focus.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) \ |