1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 01:33:12 +02:00

Use const void * for keys and values in some hashtable functions

This commit is contained in:
Sebastien Helleu
2010-10-17 10:39:51 +02:00
parent eff0f9abdb
commit ebf94445b9
11 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -153,8 +153,8 @@ weechat_tcl_dict_to_hashtable (Tcl_Interp *interp, Tcl_Obj *dict,
for (; !done ; Tcl_DictObjNext(&search, &key, &value, &done))
{
weechat_hashtable_set (hashtable,
(void *)Tcl_GetString (key),
(void *)Tcl_GetString (value));
Tcl_GetString (key),
Tcl_GetString (value));
}
}
Tcl_DictObjDone(&search);