From: Arun Prakash Jana <engineerarun@gmail.com>
Date: Mon, 10 May 2021 18:35:02 +0000 (+0530)
Subject: Fix musl-gcc compile warnings
X-Git-Tag: v4.1~85
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9b6e7e86bc818a3d233a1fd3da27ad5965bee119;p=nnn.git

Fix musl-gcc compile warnings
---

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";