1
0
Fork 0
forked from len0rd/rockbox

jpeg: Silence -Wshift-negative-value warnings

These are all from upstream code, so just force-ignore the warnings

Change-Id: I9936e1cb79636b0bfee5dd4db0c98a06792d2f69
This commit is contained in:
Solomon Peachy 2025-04-22 09:43:40 -04:00
parent 9e52dcc7e7
commit 6f5760b41a
3 changed files with 17 additions and 0 deletions

View file

@ -43,6 +43,11 @@
#define JDEBUGF(...)
#endif
#if (__GNUC__ >= 6)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshift-negative-value"
#endif
/**************** begin JPEG code ********************/
#ifdef HAVE_LCD_COLOR