summaryrefslogtreecommitdiff
path: root/src/JSystem/JUtility/JUTGraphFifo.cpp
diff options
context:
space:
mode:
authorkipcode66 <kipcode66@gmail.com>2025-12-21 20:48:09 -0500
committerGitHub <noreply@github.com>2025-12-21 17:48:09 -0800
commit4045f16667fe6903243801e1155d086ae8df27b1 (patch)
treebaa2a62646926e1f2d4c994c95931bcc4d66e5f0 /src/JSystem/JUtility/JUTGraphFifo.cpp
parentb4f931f75f5d87fc7844e00eab7d7b99eceb3622 (diff)
next round of standard compiler fixes (#2969)
* next round of standard compiler fixes * Fix weak function order issue * fix missmatch with ShieldD version
Diffstat (limited to 'src/JSystem/JUtility/JUTGraphFifo.cpp')
-rw-r--r--src/JSystem/JUtility/JUTGraphFifo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JSystem/JUtility/JUTGraphFifo.cpp b/src/JSystem/JUtility/JUTGraphFifo.cpp
index 2add552e85..98f7db2c39 100644
--- a/src/JSystem/JUtility/JUTGraphFifo.cpp
+++ b/src/JSystem/JUtility/JUTGraphFifo.cpp
@@ -2,6 +2,7 @@
#include "JSystem/JUtility/JUTGraphFifo.h"
#include "JSystem/JKernel/JKRHeap.h"
+#include "stdint.h"
static bool data_804514B8;
@@ -16,7 +17,7 @@ JUTGraphFifo::JUTGraphFifo(u32 size) {
GXInitFifoPtrs(mFifo, mBase, mBase);
} else {
mBase = JKRAllocFromSysHeap(mSize + 0xA0, 32);
- mBase = (void*)((int)mBase + 0x1F & ~0x1F);
+ mBase = (void*)((intptr_t)mBase + 0x1F & ~0x1F);
mFifo = GXInit(mBase, mSize);
data_804514B8 = true;
sCurrentFifo = this;