mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Readability: remove redundant cast to the same type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user