[PATCH] msvcirt: Use proper printf format for pointers (PVS-Studio)

Nikolay Sivov nsivov at codeweavers.com
Mon Oct 12 13:44:50 CDT 2015


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/msvcirt/msvcirt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index f590d0e..09f488a 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -825,8 +825,8 @@ void __thiscall streambuf_dbp(streambuf *this)
     } else {
         printf("_fAlloc=%d\n", this->allocated);
         printf(" base()=%p, ebuf()=%p,  blen()=%d\n", this->base, this->ebuf, streambuf_blen(this));
-        printf("pbase()=%p, pptr()=%p, epptr()=%d\n", this->pbase, this->pptr, this->epptr);
-        printf("eback()=%p, gptr()=%p, egptr()=%d\n", this->eback, this->gptr, this->egptr);
+        printf("pbase()=%p, pptr()=%p, epptr()=%p\n", this->pbase, this->pptr, this->epptr);
+        printf("eback()=%p, gptr()=%p, egptr()=%p\n", this->eback, this->gptr, this->egptr);
     }
 }
 
-- 
2.6.1




More information about the wine-patches mailing list