aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/opengl
diff options
context:
space:
mode:
authorEugene Sandulenko2010-08-23 08:40:39 +0000
committerEugene Sandulenko2010-10-12 23:17:19 +0000
commite381bc3c148d2a45e903e71538be393e99143fd2 (patch)
tree092daecebfaa6c16ffaeab215adcd09c2278e28e /engines/sword25/gfx/opengl
parenta6d909c07f8a99e826f4a102111736e8198a5925 (diff)
downloadscummvm-rg350-e381bc3c148d2a45e903e71538be393e99143fd2.tar.gz
scummvm-rg350-e381bc3c148d2a45e903e71538be393e99143fd2.tar.bz2
scummvm-rg350-e381bc3c148d2a45e903e71538be393e99143fd2.zip
SWORD25: char * -> byte * in image-related operations
svn-id: r53287
Diffstat (limited to 'engines/sword25/gfx/opengl')
-rw-r--r--engines/sword25/gfx/opengl/glimage.cpp4
-rw-r--r--engines/sword25/gfx/opengl/swimage.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/gfx/opengl/glimage.cpp b/engines/sword25/gfx/opengl/glimage.cpp
index abc961c22e..60b2686051 100644
--- a/engines/sword25/gfx/opengl/glimage.cpp
+++ b/engines/sword25/gfx/opengl/glimage.cpp
@@ -63,9 +63,9 @@ GLImage::GLImage(const Common::String &Filename, bool &Result) :
_backSurface = (static_cast<GraphicEngine *>(Kernel::GetInstance()->GetService("gfx")))->getSurface();
// Datei laden
- char *pFileData;
+ byte *pFileData;
unsigned int FileSize;
- if (!(pFileData = (char *) pPackage->GetFile(Filename, &FileSize))) {
+ if (!(pFileData = (byte *) pPackage->GetFile(Filename, &FileSize))) {
BS_LOG_ERRORLN("File \"%s\" could not be loaded.", Filename.c_str());
return;
}
diff --git a/engines/sword25/gfx/opengl/swimage.cpp b/engines/sword25/gfx/opengl/swimage.cpp
index 4dd8d9fca3..8083e2b34a 100644
--- a/engines/sword25/gfx/opengl/swimage.cpp
+++ b/engines/sword25/gfx/opengl/swimage.cpp
@@ -60,9 +60,9 @@ SWImage::SWImage(const Common::String &Filename, bool &Result) :
BS_ASSERT(pPackage);
// Datei laden
- char *pFileData;
+ byte *pFileData;
unsigned int FileSize;
- if (!(pFileData = (char *) pPackage->GetFile(Filename, &FileSize))) {
+ if (!(pFileData = (byte *) pPackage->GetFile(Filename, &FileSize))) {
BS_LOG_ERRORLN("File \"%s\" could not be loaded.", Filename.c_str());
return;
}