core: fix compilation warning under FreeBSD

This commit is contained in:
Sebastien Helleu 2011-08-18 17:56:56 +02:00
parent 27afc1e7d2
commit 65d1450e27

View File

@ -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) \