mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 08:43:13 +02:00
core: fix compilation warning under FreeBSD
This commit is contained in:
+1
-1
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user