fixed warning gcc -Wparentheses warning

This commit is contained in:
Nico von Geyso 2012-11-01 15:02:17 +01:00
parent f1a72fb2e8
commit b961b9218f

@ -235,7 +235,7 @@ Config_foreach_callback_wrapper(const git_config_entry *entry, void *c_payload)
if (!(py_result = PyObject_CallObject(py_callback,args)))
return -1;
if (c_result = PyLong_AsLong(py_result) == -1)
if ((c_result = PyLong_AsLong(py_result) == -1))
return -1;
return c_result;