Fourth try... sighs
This commit is contained in:
parent
9168310bb4
commit
ed35dea8c0
|
@ -655,7 +655,7 @@ hb_bsearch_impl (V** out,
|
|||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
V* p = (V*) (((const char *) base) + (mid * stride));
|
||||
#pragma GCC diagnostic pop
|
||||
int c = compar ((const void *) &key, (const void *) p, ds...);
|
||||
int c = compar ((const void *) hb_addressof (key), (const void *) p, ds...);
|
||||
if (c < 0)
|
||||
max = mid - 1;
|
||||
else if (c > 0)
|
||||
|
|
Loading…
Reference in New Issue