[Scummvm-cvs-logs] scummvm master -> c383ed4104a367f21bc2901dd17ef6349676351e

sev- sev at scummvm.org
Mon May 23 22:45:19 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:
c383ed4104 COMMON: Remove const qualifiers.


Commit: c383ed4104a367f21bc2901dd17ef6349676351e
    https://github.com/scummvm/scummvm/commit/c383ed4104a367f21bc2901dd17ef6349676351e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-05-23T22:44:36+02:00

Commit Message:
COMMON: Remove const qualifiers.

We have to cast it back to void *, which loses const qualifier

Changed paths:
    common/array.h



diff --git a/common/array.h b/common/array.h
index 16ca769..e486a81 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 at 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;






More information about the Scummvm-git-logs mailing list