diff options
author | Max Horn | 2006-04-12 14:54:12 +0000 |
---|---|---|
committer | Max Horn | 2006-04-12 14:54:12 +0000 |
commit | cf202049ff85bb63fcb0990f81ba173d1ab4d7c8 (patch) | |
tree | 50366bcd6fdc066fc35d398dd23ec7f68c8dd616 /engines/scumm/he | |
parent | 151b38a6e5d25bacb99d25326e6b2e09c75cad7c (diff) | |
download | scummvm-rg350-cf202049ff85bb63fcb0990f81ba173d1ab4d7c8.tar.gz scummvm-rg350-cf202049ff85bb63fcb0990f81ba173d1ab4d7c8.tar.bz2 scummvm-rg350-cf202049ff85bb63fcb0990f81ba173d1ab4d7c8.zip |
Fixing mismatch between format strings and data on some systems
svn-id: r21827
Diffstat (limited to 'engines/scumm/he')
-rw-r--r-- | engines/scumm/he/resource_he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp index 5bc0352840..c4b81f8516 100644 --- a/engines/scumm/he/resource_he.cpp +++ b/engines/scumm/he/resource_he.cpp @@ -94,13 +94,13 @@ void ResExtractor::setCursor(int id) { int keycolor = 0; CachedCursor *cc = findCachedCursor(id); if (cc != NULL) { - debug(7, "Found cursor %d in cache slot %lu", id, cc - _cursorCache); + debug(7, "Found cursor %d in cache slot %lu", id, (long)(cc - _cursorCache)); } else { cc = getCachedCursorSlot(); assert(cc && !cc->valid); cursorsize = extractResource(id, &cursorRes); convertIcons(cursorRes, cursorsize, &cc->bitmap, &cc->w, &cc->h, &cc->hotspot_x, &cc->hotspot_y, &keycolor, &cc->palette, &cc->palSize); - debug(7, "Adding cursor %d to cache slot %lu", id, cc - _cursorCache); + debug(7, "Adding cursor %d to cache slot %lu", id, (long)(cc - _cursorCache)); free(cursorRes); cc->valid = true; cc->id = id; |