On Tue, Jan 26, 2016 at 3:47 PM, J Decker <d3ck0r at gmail.com> wrote:

> should be (size_t) instead of (int) though... since size_t will retain
> the precision... and then back propagate the change to the function
> return type and the things receiving the return... then you don't need
> the cast anyway.
>

fwiw, in case this matters: size_t has an unspecified size and it's not in
C89. It's defined by C99 in stddef.h

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

Reply via email to