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
@@ -478,7 +478,7 @@ mem_read(SDL_RWops * context, void *ptr, size_t size, size_t maxnum)
total_bytes = (maxnum * size);
if ((maxnum <= 0) || (size <= 0)
|| ((total_bytes / maxnum) != (size_t) size)) {
|| ((total_bytes / maxnum) != size)) {
return 0;
}