mirror of
https://github.com/jarun/nnn.git
synced 2025-01-08 09:01:11 +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
|
@ -3556,7 +3556,7 @@ static wchar_t *unescape(const char *str, uint_t maxcols)
|
||||||
return wbuf;
|
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 rem = *pval;
|
||||||
off_t quo = rem / 10;
|
off_t quo = rem / 10;
|
||||||
|
|
Loading…
Reference in a new issue