mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
HDB: Fix type cast formatting errors
This commit is contained in:
parent
64760a08bb
commit
337f057fd4
@ -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;
|
||||
|
@ -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++;
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user