Avoid off_t -> integer overflow when sorting the locksector addresses.
This commit is contained in:
parent
c10cd4d964
commit
3f6cd8397d
@ -441,7 +441,7 @@ sorthelp(const void *a, const void *b)
|
||||
|
||||
oa = a;
|
||||
ob = b;
|
||||
return (*oa - *ob);
|
||||
return (*oa > *ob);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user