[Scummvm-git-logs] scummvm master -> 3451e18f708d2c843e57026e5dbf2efbe6a07ef5

digitall noreply at scummvm.org
Sat Apr 2 15:48:33 UTC 2022


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:
3451e18f70 AGS: Fix Cast Qualification GCC Compiler Warning


Commit: 3451e18f708d2c843e57026e5dbf2efbe6a07ef5
    https://github.com/scummvm/scummvm/commit/3451e18f708d2c843e57026e5dbf2efbe6a07ef5
Author: D G Turner (digitall at scummvm.org)
Date: 2022-04-02T16:47:59+01:00

Commit Message:
AGS: Fix Cast Qualification GCC Compiler Warning

Changed paths:
    engines/ags/engine/ac/game.cpp


diff --git a/engines/ags/engine/ac/game.cpp b/engines/ags/engine/ac/game.cpp
index 144a2756ab7..2a084c9455e 100644
--- a/engines/ags/engine/ac/game.cpp
+++ b/engines/ags/engine/ac/game.cpp
@@ -1653,7 +1653,7 @@ RuntimeScriptValue Sc_Game_GetTranslationFilename(const RuntimeScriptValue *para
 }
 
 RuntimeScriptValue Sc_Game_GetSpeechVoxFilename(const RuntimeScriptValue *params, int32_t param_count) {
-	API_SCALL_OBJ(const char, _GP(myScriptStringImpl), Game_GetSpeechVoxFilename);
+	API_CONST_SCALL_OBJ(const char, _GP(myScriptStringImpl), Game_GetSpeechVoxFilename);
 }
 
 // int ()




More information about the Scummvm-git-logs mailing list