diff options
Diffstat (limited to 'libqpdf/sph')
-rw-r--r-- | libqpdf/sph/sph_types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libqpdf/sph/sph_types.h b/libqpdf/sph/sph_types.h index 7295b0b3..eab09a26 100644 --- a/libqpdf/sph/sph_types.h +++ b/libqpdf/sph/sph_types.h @@ -804,6 +804,11 @@ static inline void sph_enc64be_aligned(void *dst, sph_u64 val); /* ============== END documentation block for Doxygen ============= */ +#if defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wold-style-cast" +#endif + #ifndef DOXYGEN_IGNORE /* @@ -1971,6 +1976,10 @@ sph_dec64le_aligned(const void *src) #endif +#if defined(__clang__) +# pragma GCC diagnostic pop +#endif + #endif /* Doxygen excluded block */ #endif |