aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/opengl
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-02 11:54:44 +0000
committerEugene Sandulenko2010-10-12 23:26:48 +0000
commit0cdb2ded85d17150cb108a5d63dd8957c29af2a5 (patch)
tree8d3d48b7ad1c0fd1888b90a8ad2e8b86de0393b5 /engines/sword25/gfx/opengl
parent56878b0e62d65aae1b0eba76a2ca2553fbaf1288 (diff)
downloadscummvm-rg350-0cdb2ded85d17150cb108a5d63dd8957c29af2a5.tar.gz
scummvm-rg350-0cdb2ded85d17150cb108a5d63dd8957c29af2a5.tar.bz2
scummvm-rg350-0cdb2ded85d17150cb108a5d63dd8957c29af2a5.zip
SWORD25: unsigned char -> byte
svn-id: r53308
Diffstat (limited to 'engines/sword25/gfx/opengl')
-rw-r--r--engines/sword25/gfx/opengl/openglgfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/gfx/opengl/openglgfx.cpp b/engines/sword25/gfx/opengl/openglgfx.cpp
index 4affeaee19..151905759c 100644
--- a/engines/sword25/gfx/opengl/openglgfx.cpp
+++ b/engines/sword25/gfx/opengl/openglgfx.cpp
@@ -331,9 +331,9 @@ Resource *OpenGLGfx::LoadResource(const Common::String &FileName) {
BS_ASSERT(pPackage);
// Datei laden
- unsigned char *pFileData;
+ byte *pFileData;
unsigned int FileSize;
- if (!(pFileData = static_cast<unsigned char *>(pPackage->GetFile(FileName, &FileSize)))) {
+ if (!(pFileData = static_cast<byte *>(pPackage->GetFile(FileName, &FileSize)))) {
BS_LOG_ERRORLN("File \"%s\" could not be loaded.", FileName.c_str());
return 0;
}