[Scummvm-git-logs] scummvm master -> da8ce13b0a59eb6dd116f10fe01eae12bf76a3e9

digitall noreply at scummvm.org
Thu Feb 12 20:31:24 UTC 2026


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

Summary:
da8ce13b0a M4: Fix GCC Shadowing Warnings


Commit: da8ce13b0a59eb6dd116f10fe01eae12bf76a3e9
    https://github.com/scummvm/scummvm/commit/da8ce13b0a59eb6dd116f10fe01eae12bf76a3e9
Author: D G Turner (digitall at scummvm.org)
Date: 2026-02-12T20:31:17Z

Commit Message:
M4: Fix GCC Shadowing Warnings

Changed paths:
    engines/m4/m4_types.h


diff --git a/engines/m4/m4_types.h b/engines/m4/m4_types.h
index f91e3213cf6..97cac96ecd4 100644
--- a/engines/m4/m4_types.h
+++ b/engines/m4/m4_types.h
@@ -59,9 +59,7 @@ struct Buffer {
 	int32 stride = 0;
 
 	constexpr Buffer() = default;
-	constexpr Buffer(int32 w, int32 h, uint8 *data, uint8 encoding, int32 stride)
-		: w(w), h(h), data(data), encoding(encoding), stride(stride)
-	{}
+	constexpr Buffer(int32 _w, int32 _h, uint8 *_data, uint8 _encoding, int32 _stride) : w(_w), h(_h), data(_data), encoding(_encoding), stride(_stride) {}
 
 	uint8 *getBasePtr(int x, int y) {
 		return data + y * w + x;




More information about the Scummvm-git-logs mailing list