summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2018-12-04 10:16:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-12-05 08:53:21 +0100
commit6400620c4c955e89ba500add85aa2a50d2094f05 (patch)
treea2c65d6f8d15ebe9fb60b7f84d94bc59da229fbc /common
parentc8bd6b5041b64f665b014557114cbaf62d0cc9ee (diff)
downloadbarebox-6400620c4c955e89ba500add85aa2a50d2094f05.tar.gz
common/parser.c: s/%d/%zu/ when printing size_t
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/parser.c b/common/parser.c
index 6136dbf..397d268 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);
}