On Wed, Jan 24, 2018 at 10:44 AM, Pedro Giffuni <p...@freebsd.org> wrote:
> ...
> On 24/01/2018 13:30, Conrad Meyer wrote:
>>
>> ...
>> size_t can handle 10GB, but u_long can't.
>> This whole argument hinges upon incorrect assumption that size_t is
>> larger than u_long.
>
>
> Hmm...
>
> Lets just make it "unsigned long" to be consistent with malloc(9) and avoid
> confusion?

The opposite, I think -- change malloc(9) and realloc*(9) to size_t to
be more consistent with the C standard and malloc(3).

Best,
Conrad
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to