[Scummvm-git-logs] scummvm master -> 7d5405cea5562f5e348a11263212c88c07545f08

sev- sev at scummvm.org
Tue Dec 22 00:49:59 UTC 2020


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:
7d5405cea5 COMMON: Fix build warning with LLVM's scan-build


Commit: 7d5405cea5562f5e348a11263212c88c07545f08
    https://github.com/scummvm/scummvm/commit/7d5405cea5562f5e348a11263212c88c07545f08
Author: Jonathan Phénix (greaterd at gmail.com)
Date: 2020-12-22T01:49:55+01:00

Commit Message:
COMMON: Fix build warning with LLVM's scan-build

Changed paths:
    common/base-str.cpp


diff --git a/common/base-str.cpp b/common/base-str.cpp
index 027aba1c03..6e65c1156c 100644
--- a/common/base-str.cpp
+++ b/common/base-str.cpp
@@ -276,7 +276,7 @@ TEMPLATE bool BASESTRING::equalsC(const char *ptr) const {
 	uint i = 0;
 
 	for (; i < _size && *ptr; i++, ptr++) {
-		if (_str[i] != *ptr)
+		if (_str[i] != (T)*ptr)
 			return false;
 	}
 




More information about the Scummvm-git-logs mailing list