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

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

 



Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 common/parser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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



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

  Powered by Linux