Nikolay Sivov : msvcirt: Use proper printf format for pointers (PVS-Studio ).

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 13 10:53:46 CDT 2015


Module: wine
Branch: master
Commit: 472f4acb06a35fc2985500deef3ee2c604a6d9da
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=472f4acb06a35fc2985500deef3ee2c604a6d9da

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Oct 12 21:44:50 2015 +0300

msvcirt: Use proper printf format for pointers (PVS-Studio).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);
     }
 }
 




More information about the wine-cvs mailing list