nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9b6e7e86bc818a3d233a1fd3da27ad5965bee119
parent b44d2c50715de514e430f3cbacc64ae787689afc
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Tue, 11 May 2021 00:05:02 +0530

Fix musl-gcc compile warnings

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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