From 9b6e7e86bc818a3d233a1fd3da27ad5965bee119 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 11 May 2021 00:05:02 +0530 Subject: [PATCH] Fix musl-gcc compile warnings --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 5c3e57f8..43038f36 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5613,9 +5613,9 @@ static void statusbar(char *path) xstrsncpy(buf, coolsize(dir_blocks << blk_shift), 12); - printw("%cu:%s free:%s files:%lu %lluB %s\n", + printw("%cu:%s free:%s files:%llu %lluB %s\n", (cfg.apparentsz ? 'a' : 'd'), buf, coolsize(get_fs_info(path, FREE)), - num_files, (blkcnt_t)pent->blocks << blk_shift, ptr); + num_files, (ulong_t)pent->blocks << blk_shift, ptr); } else { /* light or detail mode */ char sort[] = "\0\0\0\0\0";