From 03669342653bc1ef445faebbf2e176df579c1e2d Mon Sep 17 00:00:00 2001 From: liuwei35 Date: Fri, 22 Dec 2023 19:47:58 +0800 Subject: [PATCH] fix compile warning for fsutils inifile.c Signed-off-by: liuwei35 --- fsutils/inifile/inifile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsutils/inifile/inifile.c b/fsutils/inifile/inifile.c index afd105785ba..9bd90318526 100644 --- a/fsutils/inifile/inifile.c +++ b/fsutils/inifile/inifile.c @@ -603,7 +603,7 @@ long inifile_read_integer(INIHANDLE handle, /* Assume failure to find the requested value */ - iniinfo("section=\"%s\" variable=\"%s\" defvalue=%d\n", + iniinfo("section=\"%s\" variable=\"%s\" defvalue=%ld\n", section, variable, defvalue); /* Get the value as a string first */ @@ -624,7 +624,7 @@ long inifile_read_integer(INIHANDLE handle, /* Return the value that we found. */ - iniinfo("Returning %d\n", ret); + iniinfo("Returning %ld\n", ret); return ret; }