[Scummvm-git-logs] scummvm master -> 8a3bcd4c6075197d219324b27f4f721de27b6a5c

dreammaster dreammaster at scummvm.org
Fri Sep 23 02:44:50 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:
8a3bcd4c60 XEEN: Fix compiler warning in Music class


Commit: 8a3bcd4c6075197d219324b27f4f721de27b6a5c
    https://github.com/scummvm/scummvm/commit/8a3bcd4c6075197d219324b27f4f721de27b6a5c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-09-22T20:44:42-04:00

Commit Message:
XEEN: Fix compiler warning in Music class

Changed paths:
    engines/xeen/music.cpp



diff --git a/engines/xeen/music.cpp b/engines/xeen/music.cpp
index e9311e9..1d00fdb 100644
--- a/engines/xeen/music.cpp
+++ b/engines/xeen/music.cpp
@@ -76,7 +76,7 @@ void MusicDriver::execute() {
 	// Main loop
 	bool breakFlag = false;
 	while (!breakFlag) {
-		debugCN(3, kDebugSound, "MUSCODE %.4x - %.2x  ", (srcP - startP), *srcP);
+		debugCN(3, kDebugSound, "MUSCODE %.4x - %.2x  ", (uint)(srcP - startP), (uint)*srcP);
 		byte nextByte = *srcP++;
 		int cmd = (nextByte >> 4) & 15;
 		int param = (nextByte & 15);





More information about the Scummvm-git-logs mailing list