aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-01 16:14:24 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-01 16:19:34 +0530
commit5c336fb7da1b934e38eb8c939180607fc001bf0f (patch)
tree61a222390d403d10ae9365759302edca427cea20
parentef8db1fd45bd57b1f4a807d50cdf6ceb81158bdd (diff)
downloadnnn-5c336fb7da1b934e38eb8c939180607fc001bf0f.tar.gz
Fix build break
-rw-r--r--src/nnn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index d5a407e..217fd6e 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -182,7 +182,6 @@
/* TYPE DEFINITIONS */
typedef unsigned long ulong;
-typedef unsigned long long ull;
typedef unsigned int uint;
typedef unsigned char uchar;
typedef unsigned short ushort;
@@ -3929,10 +3928,10 @@ static void redraw(char *path)
xstrlcpy(buf, coolsize(dir_blocks << blk_shift), 12);
c = cfg.apparentsz ? 'a' : 'd';
- mvprintw(lastln, 0, "%d/%d (%d) %cu:%s free:%s files:%lu %lluB %s",
+ mvprintw(lastln, 0, "%d/%d (%d) %cu:%s free:%s files:%lu %lldB %s",
cur + 1, ndents, nselected, c, buf,
coolsize(get_fs_info(path, FREE)), num_files,
- (ull)(pent->blocks << blk_shift), ptr);
+ (ll)pent->blocks << blk_shift, ptr);
} else { /* light or detail mode */
/* Show filename as it may be truncated in directory listing */
/* Get the unescaped file name */