Readability: remove redundant cast to the same type

This commit is contained in:
Sylvain Becker committed 2019-10-30 15:13:55 +01:00
1 parent 56cbe12037
commit b458d7a28f
14 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ SDL_GetBasePath(void)
if (retval == NULL) {
/* older kernels don't have /proc/self ... try PID version... */
char path[64];
const int rc = (int) SDL_snprintf(path, sizeof(path),
const int rc = SDL_snprintf(path, sizeof(path),
"/proc/%llu/exe",
(unsigned long long) getpid());
if ( (rc > 0) && (rc < sizeof(path)) ) {