]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_mds/lib/MDSAttrUtils.cpp
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_mds / lib / MDSAttrUtils.cpp
index a47ecc4f62bceddadeb4e9af1a8b8ff8d955378f..17a5f30eb8bde8888eeedc60a39fcd753142b8ff 100644 (file)
@@ -158,7 +158,7 @@ bool MDSCfTypeToUInt32(
                                MPDebug("MDS cfTypeToInt: Bad CFNumber type (%ld) key %s", numType, key);
                                return false;
                }
                                MPDebug("MDS cfTypeToInt: Bad CFNumber type (%ld) key %s", numType, key);
                                return false;
                }
-               Boolean brtn = CFNumberGetValue(cfNum, numType, &tmpValue);
+               Boolean brtn = CFNumberGetValue(cfNum, kCFNumberSInt64Type, &tmpValue);
                if(!brtn) {
                        MPDebug("MDS cfTypeToInt: Bad CFNumber conversion");
                        return false;
                if(!brtn) {
                        MPDebug("MDS cfTypeToInt: Bad CFNumber conversion");
                        return false;