[Scummvm-git-logs] scummvm master -> 3f41ffa1c64c1703b3b5d1e6ed336faa4ff86fb0
digitall
547637+digitall at users.noreply.github.com
Sat Jul 31 12:09:09 UTC 2021
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:
3f41ffa1c6 COMMON: Further fixes for signedness mismatch warnings in punycode
Commit: 3f41ffa1c64c1703b3b5d1e6ed336faa4ff86fb0
https://github.com/scummvm/scummvm/commit/3f41ffa1c64c1703b3b5d1e6ed336faa4ff86fb0
Author: D G Turner (digitall at scummvm.org)
Date: 2021-07-31T13:09:17+01:00
Commit Message:
COMMON: Further fixes for signedness mismatch warnings in punycode
Changed paths:
common/punycode.cpp
diff --git a/common/punycode.cpp b/common/punycode.cpp
index 3e71a92747..4f7d46c60d 100644
--- a/common/punycode.cpp
+++ b/common/punycode.cpp
@@ -237,7 +237,7 @@ String punycode_decode(const String src1) {
for (int si = b + (b > 0 ? 1 : 0); si < srclen; di++) {
size_t org_i = i;
- for (int w = 1, k = BASE; true; k += BASE) {
+ for (size_t w = 1, k = BASE; true; k += BASE) {
size_t digit = decode_digit(src[si++]);
if (digit == SMAX) {
@@ -252,7 +252,7 @@ String punycode_decode(const String src1) {
}
i += digit * w;
- int t;
+ size_t t;
if (k <= bias) {
t = TMIN;
More information about the Scummvm-git-logs
mailing list