Skip to content

Commit

Permalink
fix compile warning for fsutils inifile.c
Browse files Browse the repository at this point in the history
Signed-off-by: liuwei35 <[email protected]>
  • Loading branch information
liuwei35 authored and pkarashchenko committed Oct 26, 2024
1 parent 0109ab3 commit 3e54ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsutils/inifile/inifile.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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;
}

Expand Down

0 comments on commit 3e54ea0

Please sign in to comment.