mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 09:41:15 +00:00
(PS3) Fix two warnings
This commit is contained in:
parent
afce6fccc5
commit
b64070793a
@ -347,8 +347,8 @@ static bool rpng_save_image(const char *path,
|
||||
stream_backend->stream_compress_free(stream);
|
||||
|
||||
memcpy(deflate_buf + 4, "IDAT", 4);
|
||||
dword_write_be(deflate_buf + 0, stream_backend->stream_get_total_out(stream));
|
||||
if (!png_write_idat(file, deflate_buf, stream_backend->stream_get_total_out(stream) + 8))
|
||||
dword_write_be(deflate_buf + 0, ((uint32_t)stream_backend->stream_get_total_out(stream)));
|
||||
if (!png_write_idat(file, deflate_buf, ((size_t)stream_backend->stream_get_total_out(stream) + 8)))
|
||||
GOTO_END_ERROR();
|
||||
|
||||
if (!png_write_iend(file))
|
||||
|
Loading…
Reference in New Issue
Block a user