]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix musl-gcc compile warnings
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 10 May 2021 18:35:02 +0000 (00:05 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 10 May 2021 18:35:02 +0000 (00:05 +0530)
src/nnn.c

index 5c3e57f8650d50523d9efc9192e7f98fff1488a2..43038f36a66356bb83f497a8602e1df3a4c28320 100644 (file)
--- 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";