From: Michael S. <mi...@st...> - 2009-03-16 13:45:24
|
Zhang Huangbin wrote: > Michael Ströder wrote: >> Could somebody with more knowledge of C programming please review >> function encode_rfc2696() in Modules/ldapcontrol.c? >> >> The following var declaration could be problematic on 64-bit systems: >> >> unsigned long size; >> >> Another issue could be in decode_rfc2696() (which is not yet reached if >> encode_rfc2696() fails): >> >> unsigned long count; > > I asked friend and he suggests me change them to: > > unsigned long size; => unsigned int size; > unsigned long count; => unsigned int count; > > Re-compile and install, but it raises the same error. I guess both is platform-dependent and hence the error. Do you see any compiler warnings during build of python-ldap? Can you please send the output? Ciao, Michael. |