Re: [PATCH] common/parser.c: s/%d/%zu/ when printing size_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 04, 2018 at 10:16:32AM +0100, Ahmad Fatoum wrote:
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
>  common/parser.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks

Sascha

> diff --git a/common/parser.c b/common/parser.c
> index 6136dbf36f5f..397d268da1c9 100644
> --- a/common/parser.c
> +++ b/common/parser.c
> @@ -70,7 +70,7 @@ static void process_macros (const char *input, char *output)
>  	/* 3 = waiting for '''  */
>  	char __maybe_unused *output_start = output;
>  
> -	pr_debug("[PROCESS_MACROS] INPUT len %d: \"%s\"\n", strlen (input),
> +	pr_debug("[PROCESS_MACROS] INPUT len %zu: \"%s\"\n", strlen (input),
>  		input);
>  
>  	prev = '\0';		/* previous character   */
> @@ -158,7 +158,7 @@ static void process_macros (const char *input, char *output)
>  	if (outputcnt)
>  		*output = 0;
>  
> -	pr_debug("[PROCESS_MACROS] OUTPUT len %d: \"%s\"\n",
> +	pr_debug("[PROCESS_MACROS] OUTPUT len %zu: \"%s\"\n",
>  		strlen (output_start), output_start);
>  }
>  
> -- 
> 2.19.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux