From: notaz Date: Wed, 15 Jan 2025 19:15:07 +0000 (+0200) Subject: fix some warnings on win32 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32922925dfd3d323de24ac1c7f25dd60eeb59f53;p=pcsx_rearmed.git fix some warnings on win32 --- diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index 9282430f..4c4bff6f 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -1238,7 +1238,7 @@ static int cdread_compressed(FILE *f, unsigned int base, void *dest, int sector) if (fread(is_compressed ? compr_img->buff_compressed : compr_img->buff_raw[0], 1, size, cdHandle) != size) { - SysPrintf("read error for block %d at %zx: ", block, start_byte); + SysPrintf("read error for block %d at %lx: ", block, (long)start_byte); perror(NULL); return -1; } diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 5b4d81b9..1fb045ce 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -580,7 +580,7 @@ int Load(const char *ExePath) { case 0: /* End of file */ break; default: - SysPrintf(_("Unknown CPE opcode %02x at position %08zx.\n"), opcode, ftell(tmpFile) - 1); + SysPrintf(_("Unknown CPE opcode %02x at position %08lx.\n"), opcode, ftell(tmpFile) - 1); retval = -1; break; }