aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 46ab865dd..489c29ad1 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -679,7 +679,7 @@ static int list_single(struct dnode *dn)
679 break; 679 break;
680 case LIST_BLOCKS: 680 case LIST_BLOCKS:
681#if _FILE_OFFSET_BITS == 64 681#if _FILE_OFFSET_BITS == 64
682 column += printf("%4lld ", dn->dstat.st_blocks >> 1); 682 column += printf("%4lld ", (long long)dn->dstat.st_blocks >> 1);
683#else 683#else
684 column += printf("%4ld ", dn->dstat.st_blocks >> 1); 684 column += printf("%4ld ", dn->dstat.st_blocks >> 1);
685#endif 685#endif