]> git.saurik.com Git - cycript.git/blobdiff - Pooling.hpp
Macros have to support overriding old definitions.
[cycript.git] / Pooling.hpp
index c7d7ae306dbc5657fb341da6c239e4e2b5d355ea..b67f2622209d1cc0d059ad205e5b6cbe35ebd16f 100644 (file)
@@ -1,5 +1,5 @@
-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015  Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
@@ -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_>