[Scummvm-git-logs] scummvm master -> ce4e22a294bc710cf06101a283e80bfbc38bb629
eriktorbjorn
noreply at scummvm.org
Mon Mar 7 07:30:46 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:
ce4e22a294 CHEWY: Fix compilation, hopefully without breaking anything else
Commit: ce4e22a294bc710cf06101a283e80bfbc38bb629
https://github.com/scummvm/scummvm/commit/ce4e22a294bc710cf06101a283e80bfbc38bb629
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2022-03-07T08:30:21+01:00
Commit Message:
CHEWY: Fix compilation, hopefully without breaking anything else
Changed paths:
engines/chewy/atds.h
engines/chewy/mcga_graphics.cpp
diff --git a/engines/chewy/atds.h b/engines/chewy/atds.h
index 79c7d40cbc6..407a53ad5b6 100644
--- a/engines/chewy/atds.h
+++ b/engines/chewy/atds.h
@@ -361,7 +361,7 @@ private:
bool _hasSpeech = false;
int16 _mousePush = 0;
int _printDelayCount1 = 0;
- ItemResource *_itemResource;
+ DialogResource *_dialogResource;
};
} // namespace Chewy
diff --git a/engines/chewy/mcga_graphics.cpp b/engines/chewy/mcga_graphics.cpp
index 32c4a8ee5fe..e587b6e3777 100644
--- a/engines/chewy/mcga_graphics.cpp
+++ b/engines/chewy/mcga_graphics.cpp
@@ -298,7 +298,7 @@ int16 McgaGraphics::scanxy(int16 x, int16 y, int16 fcol, int16 bcol, int16 cur_c
luzahl = intzahl[0];
}
if (luzahl != 0)
- ltoa(luzahl, zstring, 10);
+ sprintf(zstring, "%u", luzahl);
else {
zstring[0] = '0';
zstring[1] = 0 ;
@@ -318,7 +318,7 @@ int16 McgaGraphics::scanxy(int16 x, int16 y, int16 fcol, int16 bcol, int16 cur_c
longzahl = va_arg(parptr, uint32 *);
luzahl = longzahl[0];
if (luzahl != 0)
- ultoa(luzahl, zstring, 10);
+ sprintf(zstring, "%u", luzahl);
else {
zstring[0] = '0';
zstring[1] = 0 ;
More information about the Scummvm-git-logs
mailing list