1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Avoid off_t -> integer overflow when sorting the locksector addresses.

This commit is contained in:
Poul-Henning Kamp 2003-04-14 09:36:39 +00:00
parent 7715475960
commit ddc6ffdccf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113466

View File

@ -441,7 +441,7 @@ sorthelp(const void *a, const void *b)
oa = a;
ob = b;
return (*oa - *ob);
return (*oa > *ob);
}
static void