1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

api: fix function string_format_size on 32-bit systems

This commit is contained in:
Sébastien Helleu
2014-08-02 11:44:15 +02:00
parent f9b04635d3
commit d046315e8b
3 changed files with 9 additions and 8 deletions
+4 -4
View File
@@ -29,10 +29,10 @@ extern "C"
#include "../src/core/wee-string.h"
}
#define ONE_KB 1000UL
#define ONE_MB (ONE_KB * 1000UL)
#define ONE_GB (ONE_MB * 1000UL)
#define ONE_TB (ONE_GB * 1000UL)
#define ONE_KB 1000ULL
#define ONE_MB (ONE_KB * 1000ULL)
#define ONE_GB (ONE_MB * 1000ULL)
#define ONE_TB (ONE_GB * 1000ULL)
#define WEE_HAS_HL_STR(__result, __str, __words) \
LONGS_EQUAL(__result, string_has_highlight (__str, __words));