Nikolay Sivov : crypt32/tests: 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: 1b8f84cc3b1f752ee4574f75fc85d7c371bc8841
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1b8f84cc3b1f752ee4574f75fc85d7c371bc8841

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Oct 28 00:27:26 2015 +0300

crypt32/tests: Fix printf format (PVS-Studio).

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

---

 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 ==




More information about the wine-cvs mailing list