aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sword25/kernel/callbackregistry.h4
-rw-r--r--engines/sword25/kernel/objectregistry.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/kernel/callbackregistry.h b/engines/sword25/kernel/callbackregistry.h
index 8671a932de..5dde8ba712 100644
--- a/engines/sword25/kernel/callbackregistry.h
+++ b/engines/sword25/kernel/callbackregistry.h
@@ -74,8 +74,8 @@ private:
}
};
struct CallbackPtr_Hash {
- uint operator()(CallbackPtr x) const {
- return (uint)x;
+ unsigned long long operator()(CallbackPtr x) const {
+ return (unsigned long long)x;
}
};
diff --git a/engines/sword25/kernel/objectregistry.h b/engines/sword25/kernel/objectregistry.h
index 0f50b79b00..2f4cb9d3f7 100644
--- a/engines/sword25/kernel/objectregistry.h
+++ b/engines/sword25/kernel/objectregistry.h
@@ -136,8 +136,8 @@ protected:
}
};
struct ClassPointer_Hash {
- uint operator()(const T *x) const {
- return (uint)x;
+ unsigned long long operator()(const T *x) const {
+ return (unsigned long long)x;
}
};