diff options
author | Nipun Garg | 2019-06-18 19:54:00 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:48 +0200 |
commit | 337f057fd4d1b94db4d38819273cfc98fbccfd93 (patch) | |
tree | 8a49ed447ad1e956acbfb8fde134045044db8438 /engines | |
parent | 64760a08bbea51e3c1d0b62e918e4abb5433118f (diff) | |
download | scummvm-rg350-337f057fd4d1b94db4d38819273cfc98fbccfd93.tar.gz scummvm-rg350-337f057fd4d1b94db4d38819273cfc98fbccfd93.tar.bz2 scummvm-rg350-337f057fd4d1b94db4d38819273cfc98fbccfd93.zip |
HDB: Fix type cast formatting errors
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/draw-manager.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/lua-script.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index f0c73f0f20..1de95be9e7 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -106,7 +106,7 @@ void AI::processCines() { break; case C_FADEIN: if (!(*it)->start) { - g_hdb->_drawMan->setFade(true, (bool) (*it)->end, (*it)->speed); + g_hdb->_drawMan->setFade(true, (bool)(*it)->end, (*it)->speed); (*it)->start = 1; } else if (!g_hdb->_drawMan->isFadeActive()) { complete = true; diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 4b48acb2b1..a5559a2736 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -281,7 +281,7 @@ Graphics::Surface Picture::load(Common::SeekableReadStream *stream) { uint16 *ptr; for (uint y = 0; y < _height; y++) { - ptr = (uint16 *) _surface.getBasePtr(0, y); + ptr = (uint16 *)_surface.getBasePtr(0, y); for (uint x = 0; x < _width; x++) { *ptr = TO_LE_16(stream->readUint16LE()); ptr++; diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 90aadd8aa9..fe83d17c94 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -70,7 +70,7 @@ bool LuaScript::init() { static int cineStart(lua_State *L) { double abortable = lua_tonumber(L, 1); - char *abortFunc = (char *) lua_tostring(L, 2); + char *abortFunc = (char *)lua_tostring(L, 2); g_hdb->_lua->checkParameters("cineStart", 2); |