From 1f19cfb6fca47904dd6d5b54f48fa21d306cf272 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 30 Dec 2015 06:12:23 -0800 Subject: [PATCH] Remove extra type cast long obsoleted by template. --- Pooling.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pooling.hpp b/Pooling.hpp index c7d7ae3..550a03a 100644 --- a/Pooling.hpp +++ b/Pooling.hpp @@ -118,7 +118,7 @@ class CYPool { char *strdup(const char *data) { if (data == NULL) return NULL; - return reinterpret_cast(memdup(data, strlen(data) + 1, 1)); + return memdup(data, strlen(data) + 1, 1); } template -- 2.45.2