From 836a007de9a9eb00a222ddb05974df411bafc7e5 Mon Sep 17 00:00:00 2001 From: Yuhao Zhou Date: Mon, 15 Apr 2019 18:08:05 +0800 Subject: [PATCH] Fix off_t in mipsn32. --- biscuit/c/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit/c/ls.c b/biscuit/c/ls.c index 293b48d..2423fc2 100644 --- a/biscuit/c/ls.c +++ b/biscuit/c/ls.c @@ -34,7 +34,7 @@ void dprint(int fd, char *par, int left, int rec) spec = 's'; else spec = '-'; - printf("%crwxr-xr-x %ld %s\n", spec, st.st_size, de->d_name); + printf("%crwxr-xr-x %ld %s\n", spec, (long)st.st_size, de->d_name); } if (!rec) { if (closedir(dir) == -1)