diff --git a/python27-sys/src/lib.rs b/python27-sys/src/lib.rs index 0c1ad74d..ebfbf883 100644 --- a/python27-sys/src/lib.rs +++ b/python27-sys/src/lib.rs @@ -119,10 +119,10 @@ pub mod structmember; #[cfg(not(py_sys_config="Py_USING_UNICODE"))] #[inline(always)] -pub fn PyUnicode_Check(op : *mut PyObject) -> c_int { 0 } +pub fn PyUnicode_Check(op : *mut PyObject) -> libc::c_int { 0 } #[cfg(not(py_sys_config="Py_USING_UNICODE"))] #[inline(always)] -pub fn PyUnicode_CheckExact(op : *mut PyObject) -> c_int { 0 } +pub fn PyUnicode_CheckExact(op : *mut PyObject) -> libc::c_int { 0 }