gsdx: small x64 printf warning fixes

This commit is contained in:
Gregory Hainaut 2016-11-18 18:16:28 +01:00
parent 051c5c4bf7
commit 8abf242e2c
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ void GSDumpRaw::Read(void* ptr, size_t size) {
} else {
size_t ret = fread(ptr, 1, size, m_fp);
if (ret != size) {
fprintf(stderr, "GSDumpRaw:: Read error (%d/%d)\n", ret, size);
fprintf(stderr, "GSDumpRaw:: Read error (%zu/%zu)\n", ret, size);
throw "BAD"; // Just exit the program
}
}

View File

@ -138,7 +138,7 @@ void* fifo_alloc(size_t size, size_t repeat)
if (next != base)
fprintf(stderr, "Fail to mmap contiguous segment\n");
else
fprintf(stderr, "MMAP next %x\n", (uintptr_t)base);
fprintf(stderr, "MMAP next %p\n", base);
}
return fifo;