summaryrefslogtreecommitdiff
path: root/src/code/z_jpeg.c
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2021-09-12 07:02:45 -0400
committerGitHub <noreply@github.com>2021-09-12 13:02:45 +0200
commite31e35658dd08e9f983eef8aef0e239ecd603333 (patch)
tree860251b0e12df6da711197463c3b3f145db73ab4 /src/code/z_jpeg.c
parent90c841c435463dc4601b371e2d19d7a6f7da4bac (diff)
Fix return UB (#958)
* Ydan_SP * func_8002D7EC * Gameplay_ChangeCameraStatus * Graph_InitTHGA * CollisioCheck_LineOC * Fix more in camera and jpeg * revert comment in player
Diffstat (limited to 'src/code/z_jpeg.c')
-rw-r--r--src/code/z_jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_jpeg.c b/src/code/z_jpeg.c
index 4f12984f0..8dd991a15 100644
--- a/src/code/z_jpeg.c
+++ b/src/code/z_jpeg.c
@@ -17,7 +17,7 @@
/**
* Configures and schedules a JPEG decoder task and waits for it to finish.
*/
-u32 Jpeg_ScheduleDecoderTask(JpegContext* ctx) {
+void Jpeg_ScheduleDecoderTask(JpegContext* ctx) {
static OSTask_t sJpegTask = {
M_NJPEGTASK, // type
0, // flags