core: fix compilation warning under FreeBSD
This commit is contained in:
parent
27afc1e7d2
commit
65d1450e27
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user