aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 959cbfd9af..e9894df1f8 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -537,7 +537,7 @@ byte *SimonEngine::allocateItem(uint size) {
}
void SimonEngine::alignTableMem() {
- if ((uint32)_tablesheap_ptr & 3) {
+ if ((unsigned long)_tablesheap_ptr & 3) {
_tablesheap_ptr += 2;
_tablesheap_curpos += 2;
}