1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

core: fix print of pointer values

This commit is contained in:
Sébastien Helleu
2024-04-01 21:08:52 +02:00
parent a7c92e2d24
commit 965beb37de
91 changed files with 1031 additions and 1055 deletions
+2 -2
View File
@@ -540,8 +540,8 @@ TEST(CoreHashtable, MapString)
value_buffer, sizeof (value_buffer));
hashtable_map_string (hashtable, &test_hashtable_map_string_cb, NULL);
snprintf (result, sizeof (result),
"1624693124:0x%lx",
(unsigned long)(hashtable->newest_item->value));
"1624693124:%p",
hashtable->newest_item->value);
STRCMP_EQUAL(result, test_map_string);
free (test_map_string);