1
0
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:
Sebastien Helleu
2010-10-17 10:39:51 +02:00
parent eff0f9abdb
commit ebf94445b9
11 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -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;