summaryrefslogtreecommitdiff
path: root/src/libultra_code_O1
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2021-11-28 12:50:35 +0000
committerGitHub <noreply@github.com>2021-11-28 07:50:35 -0500
commit982e7be1f7ed06dcd8a9026b461a5908747b8087 (patch)
treef9ed3f8e91de3d173e57328963ef8d6553d59c92 /src/libultra_code_O1
parent09f0dc84b8e77cf2078442069bed5ee7db34af44 (diff)
Preliminary fixes for boot/libultra (#1032)
* Preliminary fixes * Missed a NULL
Diffstat (limited to 'src/libultra_code_O1')
-rw-r--r--src/libultra_code_O1/osSetTimer.c2
-rw-r--r--src/libultra_code_O1/osStopTimer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libultra_code_O1/osSetTimer.c b/src/libultra_code_O1/osSetTimer.c
index a14c9b23b..b0c4a05e9 100644
--- a/src/libultra_code_O1/osSetTimer.c
+++ b/src/libultra_code_O1/osSetTimer.c
@@ -5,7 +5,7 @@ s32 osSetTimer(OSTimer* timer, OSTime countdown, OSTime interval, OSMesgQueue* m
OSTimer* next;
u32 count;
u32 value;
- s32 prevInt;
+ u32 prevInt;
timer->next = NULL;
timer->prev = NULL;
diff --git a/src/libultra_code_O1/osStopTimer.c b/src/libultra_code_O1/osStopTimer.c
index 627d57b75..d6d20536a 100644
--- a/src/libultra_code_O1/osStopTimer.c
+++ b/src/libultra_code_O1/osStopTimer.c
@@ -1,7 +1,7 @@
#include "global.h"
s32 osStopTimer(OSTimer* timer) {
- register s32 prevInt;
+ register u32 prevInt;
OSTimer* next;
if (!timer->next) {