Nikolay Sivov : comctl32/listview: Fix printf format (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 28 10:16:15 CDT 2015
Module: wine
Branch: master
Commit: 7a59b27f4d9160645a85e50af4e5e43047e34d73
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a59b27f4d9160645a85e50af4e5e43047e34d73
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Oct 28 00:27:08 2015 +0300
comctl32/listview: Fix printf format (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/listview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index a76935a..e479dca 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -587,7 +587,7 @@ static const char* debugscrollinfo(const SCROLLINFO *pScrollInfo)
int len, size = DEBUG_BUFFER_SIZE;
if (pScrollInfo == NULL) return "(null)";
- len = snprintf(buf, size, "{cbSize=%d, ", pScrollInfo->cbSize);
+ len = snprintf(buf, size, "{cbSize=%u, ", pScrollInfo->cbSize);
if (len == -1) goto end; buf += len; size -= len;
if (pScrollInfo->fMask & SIF_RANGE)
len = snprintf(buf, size, "nMin=%d, nMax=%d, ", pScrollInfo->nMin, pScrollInfo->nMax);
More information about the wine-cvs
mailing list