mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
@@ -471,7 +471,7 @@ void ScummEngine_v0::drawSentenceLine() {
|
||||
actorName = " ";
|
||||
} else {
|
||||
Actor *a = derefActor(actorId, "drawSentenceLine");
|
||||
actorName = (char *)a->getActorName();
|
||||
actorName = (const char *)a->getActorName();
|
||||
}
|
||||
_sentenceBuf += Common::String::format("%-13s", actorName);
|
||||
}
|
||||
|
||||
@@ -295,7 +295,7 @@ Graphics::Surface *Surface::convertTo(const PixelFormat &dstFormat, const byte *
|
||||
assert(palette);
|
||||
|
||||
for (int y = 0; y < h; y++) {
|
||||
const byte *srcRow = (byte *)getBasePtr(0, y);
|
||||
const byte *srcRow = (const byte *)getBasePtr(0, y);
|
||||
byte *dstRow = (byte *)surface->getBasePtr(0, y);
|
||||
|
||||
for (int x = 0; x < w; x++) {
|
||||
@@ -317,7 +317,7 @@ Graphics::Surface *Surface::convertTo(const PixelFormat &dstFormat, const byte *
|
||||
} else {
|
||||
// Converting from high color to high color
|
||||
for (int y = 0; y < h; y++) {
|
||||
const byte *srcRow = (byte *)getBasePtr(0, y);
|
||||
const byte *srcRow = (const byte *)getBasePtr(0, y);
|
||||
byte *dstRow = (byte *)surface->getBasePtr(0, y);
|
||||
|
||||
for (int x = 0; x < w; x++) {
|
||||
|
||||
Reference in New Issue
Block a user