mirror of
https://github.com/jarun/nnn.git
synced 2025-03-15 19:24:07 +00:00
Fix off_t to uint_t comparison warning
The man page says: "blkcnt_t and off_t shall be signed integer types." https://man7.org/linux/man-pages/man0/sys_types.h.0p.html
This commit is contained in:
parent
a7aae40069
commit
d4a4c72e00
1 changed files with 1 additions and 1 deletions
|
@ -3556,7 +3556,7 @@ static wchar_t *unescape(const char *str, uint_t maxcols)
|
|||
return wbuf;
|
||||
}
|
||||
|
||||
static off_t get_size(off_t size, off_t *pval, uint_t comp)
|
||||
static off_t get_size(off_t size, off_t *pval, int comp)
|
||||
{
|
||||
off_t rem = *pval;
|
||||
off_t quo = rem / 10;
|
||||
|
|
Loading…
Add table
Reference in a new issue