nnn

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

commit 30fdb6ff11a8a4d720d3efbb21cb0755abd06665
parent 7654a2e0c6057c6d6d85e0625627e3e1dbe8d52d
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  5 Mar 2018 00:57:31 +0530

Fix compilation warning

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

diff --git a/nnn.c b/nnn.c @@ -1465,9 +1465,9 @@ coolsize(off_t size) if (i < 3 && rem >= frac) { size++; rem = 0; } if (i > 0) - snprintf(size_buf, 12, "%" PRId64 ".%0*i%c", size, fdig, rem, U[i]); + snprintf(size_buf, 12, "%lu.%0*i%c", size, fdig, rem, U[i]); else - snprintf(size_buf, 12, "%" PRId64 "%c", size, U[i]); + snprintf(size_buf, 12, "%lu%c", size, U[i]); return size_buf; }