summaryrefslogtreecommitdiff
path: root/apps/plugins/xrick/e_them.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-30 18:17:34 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-30 18:45:07 -0400
commit423350ec4dfba02dad9b91d5560b192cc51b8ad0 (patch)
tree2d162d21514961b2c046895c13daaab5e6b45f43 /apps/plugins/xrick/e_them.c
parent102c3742487dba76ec72d5f56a2c3041344b2d68 (diff)
downloadrockbox-423350ec4dfba02dad9b91d5560b192cc51b8ad0.tar.gz
rockbox-423350ec4dfba02dad9b91d5560b192cc51b8ad0.zip
xrick: Fix various errors/warnings
* Piles of warnings in miniz when built with modern toolchain * Pointer arithematic error in PRNG * Casting between int and void * for file descriptors * Warning on non-color targets Remaining: * Failure on XRGB888 LCDs due to issue with core LCD macros * Failure on interleaved greyscale LCDs (?) * HTML manual build failure Change-Id: Ibf6d2c001ec8daf583731d5da15b86b5352773e7
Diffstat (limited to 'apps/plugins/xrick/e_them.c')
-rw-r--r--apps/plugins/xrick/e_them.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xrick/e_them.c b/apps/plugins/xrick/e_them.c
index 465325b652..3871798a57 100644
--- a/apps/plugins/xrick/e_them.c
+++ b/apps/plugins/xrick/e_them.c
@@ -342,7 +342,7 @@ e_them_t2_action2(U8 e)
342 static U8 *cl = (U8 *)&cx; 342 static U8 *cl = (U8 *)&cx;
343 static U8 *ch = (U8 *)&cx + 1; 343 static U8 *ch = (U8 *)&cx + 1;
344 static U16 *sl = (U16 *)&e_them_rndseed; 344 static U16 *sl = (U16 *)&e_them_rndseed;
345 static U16 *sh = (U16 *)&e_them_rndseed + 2; 345 static U16 *sh = ((U16 *)&e_them_rndseed) + 1;
346 346
347 /*sys_printf("e_them_t2 ------------------------------\n");*/ 347 /*sys_printf("e_them_t2 ------------------------------\n");*/
348 348