Merge pull request #4771 from keszybz/udev-property-ordering

Udev property ordering
This commit is contained in:
Martin Pitt
2016-12-12 16:03:52 +01:00
committed by GitHub
8 changed files with 257 additions and 132 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
u = nmemb;
while (l < u) {
idx = (l + u) / 2;
p = (void *)(((const char *) base) + (idx * size));
p = (const char *) base + idx * size;
comparison = compar(key, p, arg);
if (comparison < 0)
u = idx;