diff options
Diffstat (limited to 'lib/rbcodec/codecs/libayumi/lzh.c')
-rw-r--r-- | lib/rbcodec/codecs/libayumi/lzh.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libayumi/lzh.c b/lib/rbcodec/codecs/libayumi/lzh.c index 786d3bbafe..248a2eddec 100644 --- a/lib/rbcodec/codecs/libayumi/lzh.c +++ b/lib/rbcodec/codecs/libayumi/lzh.c | |||
@@ -209,7 +209,10 @@ int make_table(int nchar, uchar * bitlen, int tablebits, ushort * table) | |||
209 | } | 209 | } |
210 | 210 | ||
211 | /* huf.c */ | 211 | /* huf.c */ |
212 | 212 | #if (__GNUC__ == 14) // XXX nuke later? | |
213 | #pragma GCC diagnostic push | ||
214 | #pragma GCC diagnostic ignored "-Wstringop-overflow" | ||
215 | #endif | ||
213 | void read_pt_len(int nn, int nbit, int i_special) | 216 | void read_pt_len(int nn, int nbit, int i_special) |
214 | { | 217 | { |
215 | int i, n; | 218 | int i, n; |
@@ -247,6 +250,9 @@ void read_pt_len(int nn, int nbit, int i_special) | |||
247 | make_table(nn, pt_len, 8, pt_table); | 250 | make_table(nn, pt_len, 8, pt_table); |
248 | } | 251 | } |
249 | } | 252 | } |
253 | #if (__GNUC__ == 14) | ||
254 | #pragma GCC diagnostic pop | ||
255 | #endif | ||
250 | 256 | ||
251 | void read_c_len(void) | 257 | void read_c_len(void) |
252 | { | 258 | { |