]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix build break
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 1 Nov 2019 10:44:24 +0000 (16:14 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 1 Nov 2019 10:49:34 +0000 (16:19 +0530)
src/nnn.c

index d5a407ebe05dae4aa5db7515ac72d3ee7351364d..217fd6e028ce589ae9f4bcfa7802b52b46558da5 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
 
 /* 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 */