[PATCH] crypt32/tests: Fix printf format (PVS-Studio)
Nikolay Sivov
nsivov at codeweavers.com
Tue Oct 27 16:27:26 CDT 2015
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/crypt32/tests/encode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index b45b5f2..eae1282 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -7262,7 +7262,7 @@ static void test_decodeNameConstraints(DWORD dwEncoding)
if (constraints->cPermittedSubtree !=
encodedNameConstraints[i].constraints.cPermittedSubtree)
- fprintf(stderr, "%d: expected %d permitted, got %d\n", i,
+ fprintf(stderr, "%d: expected %u permitted, got %u\n", i,
encodedNameConstraints[i].constraints.cPermittedSubtree,
constraints->cPermittedSubtree);
if (constraints->cPermittedSubtree ==
@@ -7276,7 +7276,7 @@ static void test_decodeNameConstraints(DWORD dwEncoding)
}
if (constraints->cExcludedSubtree !=
encodedNameConstraints[i].constraints.cExcludedSubtree)
- fprintf(stderr, "%d: expected %d excluded, got %d\n", i,
+ fprintf(stderr, "%d: expected %u excluded, got %u\n", i,
encodedNameConstraints[i].constraints.cExcludedSubtree,
constraints->cExcludedSubtree);
if (constraints->cExcludedSubtree ==
--
2.6.1
More information about the wine-patches
mailing list