]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_codesigning/lib/opaquewhitelist.cpp
Security-59306.11.20.tar.gz
[apple/security.git] / OSX / libsecurity_codesigning / lib / opaquewhitelist.cpp
index 483ca40ceaef65e321dc9f58fc10f8051008f5cc..ca9a563b4fa64c114d0dc6095e154c1f6a0a8f8c 100644 (file)
@@ -129,7 +129,7 @@ bool OpaqueWhitelist::contains(SecStaticCodeRef codeRef, SecAssessmentFeedback f
        trace.add("signature2", "%s", currentHash.c_str());
        trace.add("signature3", "%s", opaqueHash.c_str());
        trace.add("result", match ? "pass" : "fail");
-       trace.add("reason", "%d", reason);
+       trace.add("reason", "%d", (int)reason);
        if (!team.empty())
                trace.add("teamid", "%s", team.c_str());
        if (cfVersion)