aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorOri Avtalion2016-01-07 14:52:11 +0200
committerOri Avtalion2016-01-07 14:55:32 +0200
commitd8045c67273faedd806c0e0f11801df2bb9ce4c6 (patch)
treeb3cb7dc4d71236d12fd26501d00aa4b02991c2e4 /engines/tinsel
parentafd4b82a8ad760abee3224e618e951da72268d51 (diff)
downloadscummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.tar.gz
scummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.tar.bz2
scummvm-rg350-d8045c67273faedd806c0e0f11801df2bb9ce4c6.zip
JANITORIAL: Fix clang printf warnings
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/anim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/anim.cpp b/engines/tinsel/anim.cpp
index 19e180b57e..e241c7cba0 100644
--- a/engines/tinsel/anim.cpp
+++ b/engines/tinsel/anim.cpp
@@ -43,7 +43,7 @@ SCRIPTSTATE DoNextFrame(ANIM *pAnim) {
while (1) { // repeat until a real image
debugC(DEBUG_DETAILED, kTinselDebugAnimations,
- "DoNextFrame %ph index=%d, op=%xh", (byte *)pAnim, pAnim->scriptIndex,
+ "DoNextFrame %ph index=%d, op=%xh", (const void *)pAnim, pAnim->scriptIndex,
FROM_32(pAni[pAnim->scriptIndex].op));
switch ((int32)FROM_32(pAni[pAnim->scriptIndex].op)) {
@@ -217,7 +217,7 @@ void InitStepAnimScript(ANIM *pAnim, OBJECT *pAniObj, SCNHANDLE hNewScript, int
"InitStepAnimScript Object=(%d,%d,%xh) script=%xh aniSpeed=%d rec=%ph",
!pAniObj ? 0 : fracToInt(pAniObj->xPos),
!pAniObj ? 0 : fracToInt(pAniObj->yPos),
- !pAniObj ? 0 : pAniObj->hImg, hNewScript, aniSpeed, (byte *)pAnim);
+ !pAniObj ? 0 : pAniObj->hImg, hNewScript, aniSpeed, (void *)pAnim);
pAnim->aniDelta = 1; // will animate on next call to NextAnimRate
pAnim->pObject = pAniObj; // set object to animate