mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 21:17:45 +00:00
Readability: remove redundant cast to the same type
This commit is contained in:
@@ -818,7 +818,7 @@ int SDL_atoi(const char *string)
|
||||
double SDL_atof(const char *string)
|
||||
{
|
||||
#ifdef HAVE_ATOF
|
||||
return (double) atof(string);
|
||||
return atof(string);
|
||||
#else
|
||||
return SDL_strtod(string, NULL);
|
||||
#endif /* HAVE_ATOF */
|
||||
|
||||
Reference in New Issue
Block a user