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

Fix compilation error and warning with Python 2.5

This commit is contained in:
Sebastien Helleu
2010-08-27 16:21:36 +02:00
parent 712623547f
commit 543ec96bcc
@@ -4100,7 +4100,9 @@ weechat_python_api_hook_info_hashtable_cb (void *data, const char *info_name,
"ssO", python_argv);
if (python_argv[2])
Py_XDECREF(python_argv[2]);
{
Py_XDECREF((PyObject *)python_argv[2]);
}
return ret_hashtable;
}