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.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to