mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
Readability: remove redundant cast to the same type
This commit is contained in:
parent
56cbe12037
commit
b458d7a28f
14 changed files with 23 additions and 23 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue