]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_utilities/lib/debugsupport.h
Security-55471.14.8.tar.gz
[apple/security.git] / libsecurity_utilities / lib / debugsupport.h
index 474bd9b5c46501d3cbee7c9af80a1894927fed07..bf2be9daec8395ae88c4451eb2f32a0427505764 100644 (file)
@@ -58,7 +58,7 @@ public:
        
        Name(const char *start, const char *end)
        {
        
        Name(const char *start, const char *end)
        {
-               int length = end - start; if (length >= maxLength) length = maxLength - 1;
+               intptr_t length = end - start; if (length >= maxLength) length = maxLength - 1;
                memcpy(mName, start, length); memset(mName + length, 0, maxLength - length);
        }
        
                memcpy(mName, start, length); memset(mName + length, 0, maxLength - length);
        }