diff options
author | Max Horn | 2006-03-08 10:07:02 +0000 |
---|---|---|
committer | Max Horn | 2006-03-08 10:07:02 +0000 |
commit | 14f1337c602a1823d2be26fe5b48bc4722aca681 (patch) | |
tree | 38b6cd95fa4d78a15d4bfc4f76c6dc890e7f6a51 | |
parent | c59ca20ce6d137a28703d29ce11a62b553f007cb (diff) | |
download | scummvm-rg350-14f1337c602a1823d2be26fe5b48bc4722aca681.tar.gz scummvm-rg350-14f1337c602a1823d2be26fe5b48bc4722aca681.tar.bz2 scummvm-rg350-14f1337c602a1823d2be26fe5b48bc4722aca681.zip |
Use %p to print pointers portably (even on 64bit systems). Note: this will add a 0x prefix automatically
svn-id: r21140
-rw-r--r-- | engines/scumm/akos.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp index a1113f7535..6694892682 100644 --- a/engines/scumm/akos.cpp +++ b/engines/scumm/akos.cpp @@ -220,7 +220,7 @@ void AkosCostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { akst += 8; } if (!found) { - error("Sequence not found in actor 0x%X costume %d", a, a->_costume); + error("Sequence not found in actor %p costume %d", a, a->_costume); } } } @@ -251,7 +251,7 @@ void AkosCostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { aksf += 6; } if (!found) { - error("Sequence not found in actor 0x%X costume %d", a, a->_costume); + error("Sequence not found in actor %p costume %d", a, a->_costume); } } } @@ -275,7 +275,7 @@ void AkosCostumeLoader::costumeDecodeData(Actor *a, int frame, uint usemask) { akst += 8; } if (!found) { - error("Sequence not found in actor 0x%X costume %d", a, a->_costume); + error("Sequence not found in actor %p costume %d", a, a->_costume); } } } |