mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
Use const void * for keys and values in some hashtable functions
This commit is contained in:
@@ -148,7 +148,7 @@ weechat_python_dict_to_hashtable (PyObject *dict, int hashtable_size)
|
||||
{
|
||||
str_key = PyString_AsString (key);
|
||||
str_value = PyString_AsString (value);
|
||||
weechat_hashtable_set (hashtable, (void *)str_key, (void *)str_value);
|
||||
weechat_hashtable_set (hashtable, str_key, str_value);
|
||||
}
|
||||
|
||||
return hashtable;
|
||||
|
||||
Reference in New Issue
Block a user