comctl32/listview: Fix printf format (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
67738a41c4
commit
7a59b27f4d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue