diff options
-rw-r--r-- | test/common/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/array.h b/test/common/array.h index 2dc67837db..515dae3926 100644 --- a/test/common/array.h +++ b/test/common/array.h @@ -362,7 +362,7 @@ struct ListElement { }; static int compareInts(const void *a, const void *b) { - return ((ListElement *)a)->value - ((ListElement *)b)->value; + return ((const ListElement *)a)->value - ((const ListElement *)b)->value; } class SortedArrayTestSuite : public CxxTest::TestSuite { |