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:
Solomon Peachy 2024-06-30 18:17:34 -04:00
parent 102c374248
commit 423350ec4d
5 changed files with 16 additions and 8 deletions

View file

@ -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