Skip to content

Commit 3e54ea0

Browse files
liuwei35pkarashchenko
authored andcommitted
fix compile warning for fsutils inifile.c
Signed-off-by: liuwei35 <liuwei35@xiaomi.com>
1 parent 0109ab3 commit 3e54ea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fsutils/inifile/inifile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ long inifile_read_integer(INIHANDLE handle,
603603

604604
/* Assume failure to find the requested value */
605605

606-
iniinfo("section=\"%s\" variable=\"%s\" defvalue=%d\n",
606+
iniinfo("section=\"%s\" variable=\"%s\" defvalue=%ld\n",
607607
section, variable, defvalue);
608608

609609
/* Get the value as a string first */
@@ -624,7 +624,7 @@ long inifile_read_integer(INIHANDLE handle,
624624

625625
/* Return the value that we found. */
626626

627-
iniinfo("Returning %d\n", ret);
627+
iniinfo("Returning %ld\n", ret);
628628
return ret;
629629
}
630630

0 commit comments

Comments
 (0)