summaryrefslogtreecommitdiff
path: root/examples/loadables/finfo.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-21 20:51:19 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-21 20:51:19 -0500
commit0001803f0b9523c94fa2ede48eaecb047fef4524 (patch)
treef334332811e033ff966d94f6268f0629a94304b3 /examples/loadables/finfo.c
parent89a92869e56aba4e4cab2d639c00a86f0545c862 (diff)
downloadbash-0001803f0b9523c94fa2ede48eaecb047fef4524.tar.gz
Bash-4.1 distribution source
Diffstat (limited to 'examples/loadables/finfo.c')
-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);
}