summaryrefslogtreecommitdiffstats
path: root/edit.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-09-01 15:58:40 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-09-01 15:58:40 +0000
commit2a575a970197b530377f266bf02e5b970008e421 (patch)
tree3949ab4e23b758d8aca8707bb66484609d742364 /edit.c
parent348ec01dd1462df2b707027b65e39b78b3dd0e10 (diff)
Fix a couple of possible compilation warnings. (Noted by "John C.
Place" <placej@ctcdist.com>.)
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index de7b0254..9d471c96 100644
--- a/edit.c
+++ b/edit.c
@@ -96,7 +96,7 @@ be_snarf_file (const char *path, char **buf, int *max, int *len, int verbose)
buf = be_snarf_data (f, buf, max, len, 0, sb.st_size, 0);
if (verbose)
{
- snprintf(tmp, sizeof(tmp), "\"%s\" %d bytes\n", path, sb.st_size);
+ snprintf(tmp, sizeof(tmp), "\"%s\" %lu bytes\n", path, (unsigned long) sb.st_size);
addstr(tmp);
}
fclose (f);