SDL: Disable warning C4214: nonstandard extension used: bit field types other than int

From 4ec5aef028faaa051d0d9f6f13da100d5a74bcb7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 7 Feb 2024 13:23:29 -0800
Subject: [PATCH] Disable warning C4214: nonstandard extension used: bit field
 types other than int

This shows up with Visual Studio 2019 and is a non-standard extension that we rely on in this code.
---
 src/video/SDL_blit_slow.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/video/SDL_blit_slow.c b/src/video/SDL_blit_slow.c
index 943ea84ac1ac..a605e4e51e2c 100644
--- a/src/video/SDL_blit_slow.c
+++ b/src/video/SDL_blit_slow.c
@@ -294,6 +294,11 @@ typedef union
     } x;
 } FP32;
 
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning(disable:4214)
+#endif
+
 typedef union
 {
     Uint16 u;
@@ -305,6 +310,10 @@ typedef union
     } x;
 } FP16;
 
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+
 static float half_to_float(Uint16 unValue)
 {
     static const FP32 magic = { (254 - 15) << 23 };