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

@ -46,6 +46,10 @@ jpeg81.c
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#if (__GNUC__ >= 6)
#pragma GCC diagnostic ignored "-Wshift-negative-value"
#endif
///////////////////////////////////////// LOSSLESS /////////////////////////////////////////
static int P1(struct COMP *C, TSAMP *samp) // Px = Ra