diff options
-rw-r--r-- | src/net/sdltcpnet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index 7d0a491c8..c96baf37a 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -29,7 +29,11 @@ #ifdef USE_SDL2 #pragma GCC diagnostic pop #endif + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wold-style-cast" #include <SDL_net.h> +#pragma GCC diagnostic pop #include "localconsts.h" |