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

orgads orgads at gmail.com
Mon Apr 19 19:11:26 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:
a21f7d8e96 SCUMM: Fix compiler warning


Commit: a21f7d8e963e5cc29319ff79fa25bfbb9bffe2ac
    https://github.com/scummvm/scummvm/commit/a21f7d8e963e5cc29319ff79fa25bfbb9bffe2ac
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-04-19T22:11:06+03:00

Commit Message:
SCUMM: Fix compiler warning

Changed paths:
    engines/scumm/imuse/imuse_player.cpp


diff --git a/engines/scumm/imuse/imuse_player.cpp b/engines/scumm/imuse/imuse_player.cpp
index a449335afe..6976d79cfc 100644
--- a/engines/scumm/imuse/imuse_player.cpp
+++ b/engines/scumm/imuse/imuse_player.cpp
@@ -408,7 +408,7 @@ void Player::sysEx(const byte *p, uint16 len) {
 
 	if (!_scanning) {
 		for (a = 0; a < len + 1 && a < 19; ++a) {
-			snprintf((char *)&buf[a * 3], 3 * sizeof(char), " %02X", p[a]);
+			snprintf((char *)&buf[a * 3], 3 * sizeof(char), " %02X", (int)p[a]);
 		}
 		if (a < len + 1) {
 			buf[a * 3] = buf[a * 3 + 1] = buf[a * 3 + 2] = '.';




More information about the Scummvm-git-logs mailing list