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] |
On 04 Feb 2015 13:56, James Lemke wrote: > --- a/malloc/hooks.c > +++ b/malloc/hooks.c > > +static unsigned char > +magicbyte (void *p) could be const > +{ > + unsigned char magic; > + > + magic = (((size_t) p >> 3) ^ ((size_t) p >> 11)) & 0xFF; shouldn't you use uintptr_t instead of size_t ? -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |