Skip to content

Commit

Permalink
Use CRT functions instead of SDL to parse MD5 values (from Ironwail)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsonnier committed Oct 26, 2024
1 parent ed9282c commit 46014c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Quake/gl_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 46014c5

Please sign in to comment.