aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-05 08:24:37 +0200
committerEugene Sandulenko2016-09-05 08:24:37 +0200
commit78e240c23b6017ee7420d5fb0af4a1e7b22e25a9 (patch)
tree14f0ae0be605eb59e330db17da3083531bdd33bb /test
parent92452a4bba592a1d8e0f131fa1ed8d4c03334cd2 (diff)
downloadscummvm-rg350-78e240c23b6017ee7420d5fb0af4a1e7b22e25a9.tar.gz
scummvm-rg350-78e240c23b6017ee7420d5fb0af4a1e7b22e25a9.tar.bz2
scummvm-rg350-78e240c23b6017ee7420d5fb0af4a1e7b22e25a9.zip
TESTS: Fix warning
Diffstat (limited to 'test')
-rw-r--r--test/common/array.h2
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 {