From c02aaebccc0f24e04cc1cfdc7903b30338d09297 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 3 Feb 2024 11:16:53 -0800
Subject: [PATCH] Fixed warning C4245: 'initializing': conversion from 'int' to
'Uint32', signed/unsigned mismatch
---
test/testautomation_intrinsics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/testautomation_intrinsics.c b/test/testautomation_intrinsics.c
index 6c3ff3d6eee5..8c1dc7a7a344 100644
--- a/test/testautomation_intrinsics.c
+++ b/test/testautomation_intrinsics.c
@@ -251,7 +251,7 @@ SDL_TARGETING("sse4.1") static void kernel_ints_mul_sse4_1(Sint32 *dest, const S
#ifdef SDL_SSE4_2_INTRINSICS
SDL_TARGETING("sse4.2") static Uint32 calculate_crc32c_sse4_2(const char *text) {
- Uint32 crc32c = ~0;
+ Uint32 crc32c = ~0u;
size_t len = SDL_strlen(text);
#if defined(__x86_64__) || defined(_M_X64)