On Sun, Mar 13, 2011 at 07:40:45AM +, matthew green wrote:
> src/lib/libc/gen: unvis.c
>
> Log Message:
> cast "~0" to (size_t) when passing to a size_t taking function.
> fixes lint build errors.
Is that right? My C promotion rules are getting rusty...
~0 is of type 'int', 'size_t' is
David Laight writes:
> On Sun, Mar 13, 2011 at 07:40:45AM +, matthew green wrote:
>> src/lib/libc/gen: unvis.c
>>
>> Log Message:
>> cast "~0" to (size_t) when passing to a size_t taking function.
>> fixes lint build errors.
>
> Is that right? My C promotion rules are getting rusty...