mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Remove warnings of -Wsign-compare
Cast the variable to the coresponding type.
This commit is contained in:
parent
62707986b7
commit
81f8099cc6
5 changed files with 11 additions and 11 deletions
|
@ -136,9 +136,9 @@ static void DumpEfb(const std::string& filename)
|
|||
u8* data = new u8[EFB_WIDTH * EFB_HEIGHT * 4];
|
||||
u8* writePtr = data;
|
||||
|
||||
for (int y = 0; y < EFB_HEIGHT; y++)
|
||||
for (u32 y = 0; y < EFB_HEIGHT; y++)
|
||||
{
|
||||
for (int x = 0; x < EFB_WIDTH; x++)
|
||||
for (u32 x = 0; x < EFB_WIDTH; x++)
|
||||
{
|
||||
// ABGR to RGBA
|
||||
const u32 sample = Common::swap32(EfbInterface::GetColor(x, y));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue