On Thursday 2014-10-23 14:39, Holger Hans Peter Freyther wrote:

>On Thu, Oct 23, 2014 at 10:24:57AM +0200, ☎ wrote:
>
>> Good catch, I didn't notice it. Maybe we should just use size_t for all the 
>> length
>> functions in libosmo*? That's what size_t was invented for after all :)
>
>> > it looks like a candidate for ping-pong games on 32bit/64bit userland
>> > on GNU/Linux. What is the type here? unsigned int - size_t?
>
>I can't quote the ISO C specification. So what type is the result of
>"unsigned int - size_t"?

size_t, because it is of higher rank.
(The specifier to use is %zu.)

Reply via email to