From: Nicholas Clark Date: Thu, 12 May 2011 08:43:02 +0000 (+0100) Subject: Add a single (void **) cast to make the C code also valid as C++ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-Size.git;a=commitdiff_plain;h=384ebd3ff6310db79700990db048c774d0188889 Add a single (void **) cast to make the C code also valid as C++ --- diff --git a/Size.xs b/Size.xs index 7cd3ea7..e958bef 100644 --- a/Size.xs +++ b/Size.xs @@ -146,7 +146,7 @@ free_tracking_at(void **tv, int level) /* Nodes */ do { if (tv[i]) { - free_tracking_at(tv[i], level); + free_tracking_at((void **) tv[i], level); Safefree(tv[i]); } } while (i--);