mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Fix -Wsign-compare a little bit
Explicitly mark loop types (per review)
This commit is contained in:
parent
22917084d9
commit
d0eae7bab1
6 changed files with 12 additions and 10 deletions
|
|
@ -769,9 +769,9 @@ s32 pngDecodeData(ppu_thread& ppu, PHandle handle, PStream stream, vm::ptr<u8> d
|
|||
// todo: commandptr
|
||||
try
|
||||
{
|
||||
for (int j = 0; j < stream->passes; j++)
|
||||
for (u32 j = 0; j < stream->passes; j++)
|
||||
{
|
||||
for (int i = 0; i < stream->out_param.outputHeight; ++i)
|
||||
for (u32 i = 0; i < stream->out_param.outputHeight; ++i)
|
||||
{
|
||||
const u32 line = flip ? stream->out_param.outputHeight - i - 1 : i;
|
||||
png_read_row(stream->png_ptr, &data[line*bytes_per_line], nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue