[patch v2] fix i386 compile with -WError

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jul 18 18:57:34 UTC 2015


On Sat, Jul 18, 2015 at 11:23:17AM +1200, Douglas Bagnall wrote:
> 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.
> 

Reviewed-by: Volker Lendecke <vl at samba.org>


-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de



More information about the samba-technical mailing list