summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Miller <seanmiller999@gmail.com>2026-04-14 15:00:13 +0100
committerSean Miller <seanmiller999@gmail.com>2026-04-14 15:00:13 +0100
commit9eb87eb75ec6f8845b4066dd8e7684d752e8b2b9 (patch)
treec669bd53f9657e6f6b2e036a57ef211cc50cd7d7
parenta72e4e4bbfcabe0d2d961fe61d6c2d14ec88b826 (diff)
More natural cast in eggSystem.cpp
-rw-r--r--src/egg/core/eggSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg/core/eggSystem.cpp b/src/egg/core/eggSystem.cpp
index 3783af8c..315c07b0 100644
--- a/src/egg/core/eggSystem.cpp
+++ b/src/egg/core/eggSystem.cpp
@@ -56,7 +56,7 @@ void ConfigurationData::initMemory() {
} else {
debugHeapSize = 0;
}
- void *debugHeapPtr = (void *)((u32)root2HeapPtr + root2HeapSize);
+ void *debugHeapPtr = (u8 *)root2HeapPtr + root2HeapSize;
mRootHeapMem1 = ExpHeap::create(root1HeapPtr, root1HeapSize, 0);
mRootHeapMem1->setName("EGGRootMEM1");