]> git.saurik.com Git - cycript.git/commitdiff
Remove extra type cast long obsoleted by template.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 30 Dec 2015 14:12:23 +0000 (06:12 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 30 Dec 2015 14:12:23 +0000 (06:12 -0800)
Pooling.hpp

index c7d7ae306dbc5657fb341da6c239e4e2b5d355ea..550a03a9ffae7d54cec429ab4e0dc1ff40645477 100644 (file)
@@ -118,7 +118,7 @@ class CYPool {
     char *strdup(const char *data) {
         if (data == NULL)
             return NULL;
-        return reinterpret_cast<char *>(memdup(data, strlen(data) + 1, 1));
+        return memdup(data, strlen(data) + 1, 1);
     }
 
     template <typename Type_>