diff options
| author | 2018-03-05 01:11:14 +0530 | |
|---|---|---|
| committer | 2018-03-05 01:11:14 +0530 | |
| commit | 90e8b81c3eef34e58c8d5171d79dac94576b3f00 (patch) | |
| tree | ba3de66b6c3a15c04a7e24f78095ca1cde5f93fa | |
| parent | 30fdb6ff11a8a4d720d3efbb21cb0755abd06665 (diff) | |
| download | nnn-90e8b81c3eef34e58c8d5171d79dac94576b3f00.tar.gz | |
Revert "Fix compilation warning"
This reverts commit 30fdb6ff11a8a4d720d3efbb21cb0755abd06665.
| -rw-r--r-- | nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1465,9 +1465,9 @@ coolsize(off_t size) if (i < 3 && rem >= frac) { size++; rem = 0; } if (i > 0) - snprintf(size_buf, 12, "%lu.%0*i%c", size, fdig, rem, U[i]); + snprintf(size_buf, 12, "%" PRId64 ".%0*i%c", size, fdig, rem, U[i]); else - snprintf(size_buf, 12, "%lu%c", size, U[i]); + snprintf(size_buf, 12, "%" PRId64 "%c", size, U[i]); return size_buf; } |