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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user