aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-26 07:40:51 +0000
committerFilippos Karapetis2010-07-26 07:40:51 +0000
commita278e01998aeda10d22b6edb1e9be23c81abf033 (patch)
tree4d104ff9a892055bbbab66272df9fb61195c1195 /engines/sci/resource.h
parentefa0f664029151f213c3a73a54bfd48ebf844981 (diff)
downloadscummvm-rg350-a278e01998aeda10d22b6edb1e9be23c81abf033.tar.gz
scummvm-rg350-a278e01998aeda10d22b6edb1e9be23c81abf033.tar.bz2
scummvm-rg350-a278e01998aeda10d22b6edb1e9be23c81abf033.zip
SCI: Fixed bug #3034536 - "AMIGAOS4: SCI - Compiler error".
svn-id: r51302
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r--engines/sci/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h
index f1f5f469d3..f1ea2f15f9 100644
--- a/engines/sci/resource.h
+++ b/engines/sci/resource.h
@@ -149,11 +149,11 @@ public:
Common::String toString() const {
char buf[32];
- snprintf(buf, 32, "%s.%i", getResourceTypeName(_type), _number);
+ snprintf(buf, 32, "%s.%d", getResourceTypeName(_type), _number);
Common::String retStr = buf;
if (_tuple != 0) {
- snprintf(buf, 32, "(%i, %i, %i, %i)", _tuple >> 24, (_tuple >> 16) & 0xff, (_tuple >> 8) & 0xff, _tuple & 0xff);
+ snprintf(buf, 32, "(%d, %d, %d, %d)", _tuple >> 24, (_tuple >> 16) & 0xff, (_tuple >> 8) & 0xff, _tuple & 0xff);
retStr += buf;
}