This is the mail archive of the libc-help@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: [PATCH] Change maxsize_* and last_* from size_t to uint64_t in memusagestat.c


On Sat, Oct 31, 2009 at 4:58 PM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> It has nothing to do with being signed or unsigned, but size_t might
> be uint32_t, while struct entry might be uint64_t and assignment may
> overflow.

Sorry meant to say "while struct entry *is* uinte64_t ..."

Cheers,
Carlos.


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