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:
Arun Prakash Jana 2021-07-02 20:34:02 +05:30
parent a7aae40069
commit d4a4c72e00
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -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;