[Scummvm-git-logs] scummvm master -> 78e240c23b6017ee7420d5fb0af4a1e7b22e25a9

sev- sev at scummvm.org
Mon Sep 5 08:24:56 CEST 2016


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
78e240c23b TESTS: Fix warning


Commit: 78e240c23b6017ee7420d5fb0af4a1e7b22e25a9
    https://github.com/scummvm/scummvm/commit/78e240c23b6017ee7420d5fb0af4a1e7b22e25a9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-09-05T08:24:37+02:00

Commit Message:
TESTS: Fix warning

Changed paths:
    test/common/array.h



diff --git a/test/common/array.h b/test/common/array.h
index 2dc6783..515dae3 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 {





More information about the Scummvm-git-logs mailing list