summaryrefslogtreecommitdiff
path: root/examples/loadables/finfo.c
diff options
context:
space:
mode:
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);
}