This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question on sparc SHMLBA helper function


From: Roland McGrath <roland@hack.frob.com>
Date: Fri, 16 Mar 2012 19:54:04 -0700 (PDT)

>> +      return (void *) -1;
> 
> I think that has to be -1l to avoid warnings when uintptr_t is larger than int.

Indeed, I'll fix that up, thanks Roland.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]