mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
This commit is contained in:
parent
102c374248
commit
423350ec4d
5 changed files with 16 additions and 8 deletions
5
apps/plugins/xrick/3rd_party/miniz/miniz.c
vendored
5
apps/plugins/xrick/3rd_party/miniz/miniz.c
vendored
|
|
@ -219,6 +219,11 @@
|
|||
#define MINIZ_HAS_64BIT_REGISTERS 1
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ >= 7)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue