fix compile warning for fsutils inifile.c

Signed-off-by: liuwei35 <liuwei35@xiaomi.com>
This commit is contained in:
liuwei35 2023-12-22 19:47:58 +08:00 committed by Petro Karashchenko
parent 0109ab39ec
commit 3e54ea0aae

View file

@ -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;
}