Re: [dev] [PATCH] [sbase] printf: Avoid casts for better portability

From: sin <sin_AT_2f30.org>
Date: Sat, 1 Feb 2014 20:17:46 +0000

On Fri, Jan 31, 2014 at 07:04:46PM +0100, FRIGN wrote:
> On Fri, 31 Jan 2014 18:43:50 +0100
> FRIGN <dev_AT_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 -.-.

Applied, thanks.

In the future, generate patches using git-format-patch(1).
Received on Sat Feb 01 2014 - 21:17:46 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 01 2014 - 21:24:06 CET