diff options
author | Eugene Sandulenko | 2016-05-23 22:44:36 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-23 22:44:36 +0200 |
commit | c383ed4104a367f21bc2901dd17ef6349676351e (patch) | |
tree | 8e7b39544bce28e7a42957e9985d10d404d554cf | |
parent | 419211733e949d376b443df8678c392d6abab5d8 (diff) | |
download | scummvm-rg350-c383ed4104a367f21bc2901dd17ef6349676351e.tar.gz scummvm-rg350-c383ed4104a367f21bc2901dd17ef6349676351e.tar.bz2 scummvm-rg350-c383ed4104a367f21bc2901dd17ef6349676351e.zip |
COMMON: Remove const qualifiers.
We have to cast it back to void *, which loses const qualifier
-rw-r--r-- | common/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/array.h b/common/array.h index 16ca76919b..e486a81972 100644 --- a/common/array.h +++ b/common/array.h @@ -415,7 +415,7 @@ private: // Based on code Copyright (C) 2008-2009 Ksplice, Inc. // Author: Tim Abbott <tabbott@ksplice.com> // Licensed under GPLv2+ - void *bsearchMin(const void *key, const void *base, uint num, uint size, + void *bsearchMin(void *key, void *base, uint num, uint size, int (*cmp)(const void *key, const void *elt)) { uint start_ = 0, end_ = num; int result; |