On Fri, Jan 31, 2014 at 07:04:46PM +0100, FRIGN wrote: > On Fri, 31 Jan 2014 18:43:50 +0100 > FRIGN <d...@frign.de> wrote: > > > Using the C99 PRIu32-macro and %zu-format-specifier increase > > portability and avoid these unnecessary casts. > > Argh, I forgot C90 didn't support the z-format-specifier. > So, we won't get around casting len to unsigned long -.-. > > Please let me know if I should check the code for more of those cases.
I was thinking about exactly the same issues today when I did this patch. Do you guys think it would make sense to move sbase to C99? We are already using long long in the code.