[patch v2] fix i386 compile with -WError

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Fri Jul 17 23:23:17 UTC 2015


On 18/07/15 01:20, Volker Lendecke wrote:
>> -		while((rem > 0) && ((unsigned long long)ndir & (sizeof(void*) - 1))) {
>> +		while((rem > 0) && ((intptr_t)ndir & (sizeof(void*) - 1))) {
> 
> Don't you want a uintptr_t here instead of an intptr_t?

Oh yes. Thanks Volker. Fixed below.

Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-uintptr_t-for-pointer-int-cast-in-SMBC_getdents_.patch
Type: text/x-patch
Size: 1029 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150718/9bb913f5/0001-Use-uintptr_t-for-pointer-int-cast-in-SMBC_getdents_.bin>


More information about the samba-technical mailing list