1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

tests: fix compilation warning on FreeBSD

This commit is contained in:
Sébastien Helleu
2017-04-26 22:28:03 +02:00
parent a21a31e3ca
commit 5b78cb2a7b
+1 -1
View File
@@ -36,7 +36,7 @@ extern "C"
__result_index_insert, __value) \
pointer = arraylist_search (arraylist, (void *)(__value), \
&index, &index_insert); \
if (__result_ptr && pointer) \
if (__result_ptr != NULL && pointer) \
{ \
STRCMP_EQUAL(__result_ptr, (const char *)pointer); \
} \