Skip to content

Commit

Permalink
another fix for size_t error
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Sep 11, 2023
1 parent b82520b commit 2fcc6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/JSystem/JKernel/JKRHeap.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class JKRHeap : public JKRDisposer {
// override unless we give it that. I don't know of an easy way to convince
// IntelliSense that we're in a 32-bit project, so just give it a different size.
#if defined __INTELLISENSE__
typedef unsigned long long NEW_SIZE;
typedef unsigned int NEW_SIZE;
#else
typedef u32 NEW_SIZE;
#endif
Expand Down
6 changes: 3 additions & 3 deletions src/JSystem/JFramework/JFWDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void JFWDisplay::ctor_subroutine(const _GXRenderModeObj* mode, bool enableAlpha)

mZClear = 0xFFFFFF;

mpRenderMode = mode != 0 ? mode : JUTVideo::sManager->getRenderMode();
mpRenderMode = mode != 0 ? mode : JUTVideo::getManager()->getRenderMode();

mGamma = 0;
mpFader = 0;
Expand Down Expand Up @@ -83,7 +83,7 @@ JFWDisplay* JFWDisplay::createManager(JKRHeap* p_heap, JUTXfb::EXfbNumber xfb_nu
return sManager;
}

static dummyFunc() {
static void dummyFunc() {
OSReport("sManager");
OSReport("mTemporarySingle");
}
Expand Down Expand Up @@ -544,6 +544,6 @@ void diagnoseGpHang() {
}
}

static dummyFunc2() {
static void dummyFunc2() {
OSReport("\0\0\0\0\0\0");
}

0 comments on commit 2fcc6eb

Please sign in to comment.