diff --git a/plugins/GSdx/GS.h b/plugins/GSdx/GS.h index 239b8f769c..c201a6393c 100644 --- a/plugins/GSdx/GS.h +++ b/plugins/GSdx/GS.h @@ -1282,7 +1282,7 @@ struct GSPrivRegSet if(i == 0 && !PMODE.EN1) continue; if(i == 1 && !PMODE.EN2) continue; - fprintf(fp, "DISPFB[%d] BP=%05x BW=%d PSM=%d DBX=%d DBY=%d\n", + fprintf(fp, "DISPFB[%d] BP=%05x BW=%u PSM=%u DBX=%u DBY=%u\n", i, DISP[i].DISPFB.Block(), DISP[i].DISPFB.FBW, @@ -1291,7 +1291,7 @@ struct GSPrivRegSet DISP[i].DISPFB.DBY ); - fprintf(fp, "DISPLAY[%d] DX=%d DY=%d DW=%d DH=%d MAGH=%d MAGV=%d\n", + fprintf(fp, "DISPLAY[%d] DX=%u DY=%u DW=%u DH=%u MAGH=%u MAGV=%u\n", i, DISP[i].DISPLAY.DX, DISP[i].DISPLAY.DY, diff --git a/plugins/GSdx/GSRendererDX.cpp b/plugins/GSdx/GSRendererDX.cpp index 236e540ebc..76ed169c69 100644 --- a/plugins/GSdx/GSRendererDX.cpp +++ b/plugins/GSdx/GSRendererDX.cpp @@ -356,7 +356,7 @@ void GSRendererDX::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc } else if ((fbmask & 0xFF) != 0xFF) { #ifdef _DEBUG - fprintf(stderr, "Please fix me! wb %d wr %d\n", om_bsel.wb, om_bsel.wr); + fprintf(stderr, "Please fix me! wb %u wr %u\n", om_bsel.wb, om_bsel.wr); #endif //ASSERT(0); } @@ -370,7 +370,7 @@ void GSRendererDX::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc } else if ((fbmask & 0xFF) != 0xFF) { #ifdef _DEBUG - fprintf(stderr, "Please fix me! wa %d wg %d\n", om_bsel.wa, om_bsel.wg); + fprintf(stderr, "Please fix me! wa %u wg %u\n", om_bsel.wa, om_bsel.wg); #endif //ASSERT(0); } diff --git a/plugins/spu2-x/src/Wavedump_wav.cpp b/plugins/spu2-x/src/Wavedump_wav.cpp index 94aed6cc5f..1d3bcd7a2a 100644 --- a/plugins/spu2-x/src/Wavedump_wav.cpp +++ b/plugins/spu2-x/src/Wavedump_wav.cpp @@ -53,10 +53,10 @@ void Open() for (int srcidx = 0; srcidx < CoreSrc_Count; srcidx++) { safe_delete(m_CoreWav[cidx][srcidx]); #ifdef __POSIX__ - sprintf(wavfilename, "logs/spu2x-Core%d-%s.wav", + sprintf(wavfilename, "logs/spu2x-Core%ud-%s.wav", cidx, m_tbl_CoreOutputTypeNames[srcidx]); #else - sprintf(wavfilename, "logs\\spu2x-Core%d-%s.wav", + sprintf(wavfilename, "logs\\spu2x-Core%ud-%s.wav", cidx, m_tbl_CoreOutputTypeNames[srcidx]); #endif