Readability: remove redundant cast to the same type
This commit is contained in:
1 parent
56cbe12037
commit
b458d7a28f
14 files changed
+23
-23
No files matched your search
@@ -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