Index: uspace/app/bdsh/cmds/modules/ls/ls.c
===================================================================
--- uspace/app/bdsh/cmds/modules/ls/ls.c	(revision bf226890b652b5f45705176ec053f2c793b7f17e)
+++ uspace/app/bdsh/cmds/modules/ls/ls.c	(revision 4a10b633a3da1b330c452bb67c605953783841e4)
@@ -51,8 +51,8 @@
 static char *cmdname = "ls";
 
-static inline uint64_t flen(const char *f)
+static inline off_t flen(const char *f)
 {
 	int fd;
-	uint64_t size;
+	off_t size;
 
 	fd = open(f, O_RDONLY);
@@ -146,5 +146,5 @@
 static void ls_print_file(const char *f)
 {
-	printf("%-40s\t%u\n", f, flen(f));
+	printf("%-40s\t%llu\n", f, (long long) flen(f));
 
 	return;
