diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-06-30 18:17:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-06-30 18:45:07 -0400 |
commit | 423350ec4dfba02dad9b91d5560b192cc51b8ad0 (patch) | |
tree | 2d162d21514961b2c046895c13daaab5e6b45f43 /apps/plugins/xrick/e_them.c | |
parent | 102c3742487dba76ec72d5f56a2c3041344b2d68 (diff) | |
download | rockbox-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.c | 2 |
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 | ||