summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls.c b/ls.c
index c54b6a4..d9ecf04 100644
--- a/ls.c
+++ b/ls.c
@@ -605,7 +605,7 @@ static int list_single(struct dnode *dn)
for (i=0; i<=31; i++) {
switch (list_fmt & (1<<i)) {
case LIST_INO:
- printf("%7ld ", dn->dstat.st_ino);
+ printf("%7ld ", (long int)dn->dstat.st_ino);
column += 8;
break;
case LIST_BLOCKS: