From 8abf242e2c203402cd88e4b4c57d4f137f032c69 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 18 Nov 2016 18:16:28 +0100 Subject: [PATCH] gsdx: small x64 printf warning fixes --- plugins/GSdx/GSLzma.cpp | 2 +- plugins/GSdx/stdafx.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSLzma.cpp b/plugins/GSdx/GSLzma.cpp index 5e29a0bc79..d99a94ff65 100644 --- a/plugins/GSdx/GSLzma.cpp +++ b/plugins/GSdx/GSLzma.cpp @@ -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 } } diff --git a/plugins/GSdx/stdafx.cpp b/plugins/GSdx/stdafx.cpp index abb479d3d6..52d63aadab 100644 --- a/plugins/GSdx/stdafx.cpp +++ b/plugins/GSdx/stdafx.cpp @@ -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;