diff options
| author | Roman971 <32455037+Roman971@users.noreply.github.com> | 2022-06-16 02:15:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-15 20:15:44 -0400 |
| commit | 08c8126ba55c11b8774721dedec3a5d8993503cd (patch) | |
| tree | b19dace8340a2eba1c61f07209462e57565b8fe3 /src/code/graph.c | |
| parent | 5299208291dc3032954b8b2242be2be9c7b6c7c0 (diff) | |
Enable int-conversion warnings and fix all current instances (#1280)
* Enable int-conversion warnings for gcc/clang
* Fix all current int-conversion warnings
* Run format.sh
* Apply review suggestions
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index 98b1bcaf6..481808cee 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -24,7 +24,7 @@ UCodeInfo D_8012D248[3] = { void Graph_FaultClient(void) { void* nextFb = osViGetNextFramebuffer(); - void* newFb = ((u32)SysCfb_GetFbPtr(0) != (u32)nextFb) ? SysCfb_GetFbPtr(0) : SysCfb_GetFbPtr(1); + void* newFb = (void*)((SysCfb_GetFbPtr(0) != (u32)nextFb) ? SysCfb_GetFbPtr(0) : SysCfb_GetFbPtr(1)); osViSwapBuffer(newFb); Fault_WaitForInput(); |
