summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-08 20:05:53 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-08 20:05:53 -0500
commit6932f7f549fadc48cbaf1e0aeb51024737edb7fa (patch)
treef2072ad042c0337c771f4a4e150c915701d94fbb /examples
parent76af2125b7f784392db9a20b235f3047f23cee61 (diff)
downloadbash-6932f7f549fadc48cbaf1e0aeb51024737edb7fa.tar.gz
commit bash-20090226 snapshot
Diffstat (limited to 'examples')
-rw-r--r--examples/loadables/finfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c
index 778b02bd..af7ffb64 100644
--- a/examples/loadables/finfo.c
+++ b/examples/loadables/finfo.c
@@ -357,7 +357,7 @@ int flags;
else
printf("%d\n", st->st_gid);
} else if (flags & OPT_SIZE)
- printf("%ld\n", st->st_size);
+ printf("%ld\n", (long) st->st_size);
return (0);
}