From 46014c5f46416f3bc98ee3abab8b4ab0bb87b617 Mon Sep 17 00:00:00 2001 From: vsonnier Date: Sat, 26 Oct 2024 06:59:57 +0200 Subject: [PATCH] Use CRT functions instead of SDL to parse MD5 values (from Ironwail) --- Quake/gl_model.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Quake/gl_model.c b/Quake/gl_model.c index fc1e7e3e..08e1014b 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -3573,7 +3573,7 @@ MD5_ParseUInt */ static size_t MD5_ParseUInt (const void **buffer) { - size_t i = SDL_strtoull (com_token, NULL, 0); + size_t i = strtoull (com_token, NULL, 0); *buffer = COM_Parse (*buffer); return i; } @@ -3585,7 +3585,7 @@ MD5_ParseSInt */ static long MD5_ParseSInt (const void **buffer) { - long i = SDL_strtol (com_token, NULL, 0); + long i = strtol (com_token, NULL, 0); *buffer = COM_Parse (*buffer); return i; } @@ -3597,7 +3597,7 @@ MD5_ParseFloat */ static double MD5_ParseFloat (const void **buffer) { - double i = SDL_strtod (com_token, NULL); + double i = strtod (com_token, NULL); *buffer = COM_Parse (*buffer); return i; }