From 78e240c23b6017ee7420d5fb0af4a1e7b22e25a9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 5 Sep 2016 08:24:37 +0200 Subject: TESTS: Fix warning --- test/common/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 { -- cgit v1.2.3