Remove some redundant casts and fix rct_sprite::AsDuck()

This commit is contained in:
Michael Steenbeek authored and GitHub committed 2018-02-15 13:04:25 +01:00
1 parent c8c9bf70a7
commit d481cca2ed
15 files changed
+33 -35

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ namespace Imaging
png_destroy_read_struct(&png_ptr, &info_ptr, nullptr);
// Return the output data
*pixels = (uint8*)pngPixels;
*pixels = pngPixels;
if (width != nullptr) *width = pngWidth;
if (height != nullptr) *height = pngHeight;