aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/resource_he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/he/resource_he.cpp')
-rw-r--r--engines/scumm/he/resource_he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp
index 74cc95f8fb..5bc0352840 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 %d", id, cc - _cursorCache);
+ debug(7, "Found cursor %d in cache slot %lu", id, 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 %d", id, cc - _cursorCache);
+ debug(7, "Adding cursor %d to cache slot %lu", id, cc - _cursorCache);
free(cursorRes);
cc->valid = true;
cc->id = id;