minor
authorEbrahim Byagowi <ebrahim@gnu.org>
Sat, 1 Jun 2019 20:06:30 +0000 (00:36 +0430)
committerGitHub <noreply@github.com>
Sat, 1 Jun 2019 20:06:30 +0000 (00:36 +0430)
src/hb-algs.hh

index cd0416d..699ac02 100644 (file)
@@ -607,15 +607,15 @@ template <typename ...Ts>
 static inline void *
 hb_bsearch (const void *key, const void *base,
            size_t nmemb, size_t size,
-           int (*compar)(const void *_key, const void *_item, Ts... args),
-           Ts... args)
+           int (*compar)(const void *_key, const void *_item, Ts... _ds),
+           Ts... ds)
 {
   int min = 0, max = (int) nmemb - 1;
   while (min <= max)
   {
     int mid = (min + max) / 2;
     const void *p = (const void *) (((const char *) base) + (mid * size));
-    int c = compar (key, p, args...);
+    int c = compar (key, p, ds...);
     if (c < 0)
       max = mid - 1;
     else if (c > 0)