]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_cdsa_utilities/lib/cssmdbname.cpp
Security-55471.14.4.tar.gz
[apple/security.git] / libsecurity_cdsa_utilities / lib / cssmdbname.cpp
index 02a541195538aede4a6b04400d9728ec9a03b962..269f86bdf29186d3b9b2c9b4241657ab0384974e 100644 (file)
@@ -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.