diff options
author | Max Horn | 2009-03-14 01:45:11 +0000 |
---|---|---|
committer | Max Horn | 2009-03-14 01:45:11 +0000 |
commit | f91eaf9f1a380fb9cc6548c40ebb563ed205a207 (patch) | |
tree | 67fc0c79c394802b18b3dc3219ee84d326ab6ad5 /engines/sci/gfx/resource | |
parent | 636a3dd2c19cf3f878f2cc3b9eb58196c8655e92 (diff) | |
download | scummvm-rg350-f91eaf9f1a380fb9cc6548c40ebb563ed205a207.tar.gz scummvm-rg350-f91eaf9f1a380fb9cc6548c40ebb563ed205a207.tar.bz2 scummvm-rg350-f91eaf9f1a380fb9cc6548c40ebb563ed205a207.zip |
SCI: Fixed warning
svn-id: r39381
Diffstat (limited to 'engines/sci/gfx/resource')
-rw-r--r-- | engines/sci/gfx/resource/res_pic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gfx/resource/res_pic.cpp b/engines/sci/gfx/resource/res_pic.cpp index 6ba8ec660a..f7c2a359ad 100644 --- a/engines/sci/gfx/resource/res_pic.cpp +++ b/engines/sci/gfx/resource/res_pic.cpp @@ -1720,7 +1720,7 @@ void gfxr_draw_pic01(gfxr_pic_t *pic, int flags, int default_palette, int size, if (!pic->priorityTable) { pic->priorityTable = (int*)sci_malloc(16 * sizeof(int)); } else { - GFXERROR("pic->priorityTable is not NULL (%p); this only occurs with overlaid pics, otherwise it's a bug", pic->priorityTable); + GFXERROR("pic->priorityTable is not NULL (%p); this only occurs with overlaid pics, otherwise it's a bug", (void *)pic->priorityTable); } pri_table = pic->priorityTable; @@ -1742,7 +1742,7 @@ void gfxr_draw_pic01(gfxr_pic_t *pic, int flags, int default_palette, int size, if (!pic->priorityTable) { pic->priorityTable = (int*)sci_malloc(16 * sizeof(int)); } else { - GFXERROR("pic->priorityTable is not NULL (%p); possible memory corruption", pic->priorityTable); + GFXERROR("pic->priorityTable is not NULL (%p); possible memory corruption", (void *)pic->priorityTable); } pri_table = pic->priorityTable; |