X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..e3d3b979fd185d8303f28a937baa53a187fb8c7d:/libsecurity_cdsa_utilities/lib/cssmdbname.cpp?ds=sidebyside diff --git a/libsecurity_cdsa_utilities/lib/cssmdbname.cpp b/libsecurity_cdsa_utilities/lib/cssmdbname.cpp index 02a54119..269f86bd 100644 --- a/libsecurity_cdsa_utilities/lib/cssmdbname.cpp +++ b/libsecurity_cdsa_utilities/lib/cssmdbname.cpp @@ -72,7 +72,7 @@ void DbName::CanonicalizeName() // we will pull the path apart and try again. // search backward for the delimiter - int n = mDbName.length() - 1; + ptrdiff_t n = mDbName.length() - 1; // all subpaths must be tested, because there may be more than just // the file name that doesn't exist.