From 61ce4d548ce1ff31d28670857f95ed07c7e9abd8 Mon Sep 17 00:00:00 2001 From: ds Date: Sat, 3 Oct 2020 19:02:37 +0300 Subject: [PATCH] fix: osx build --- ext/crlib/cr-alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/crlib/cr-alloc.h b/ext/crlib/cr-alloc.h index 65b69bf..4fe5b58 100644 --- a/ext/crlib/cr-alloc.h +++ b/ext/crlib/cr-alloc.h @@ -34,7 +34,7 @@ public: public: template T *allocate (const size_t length = 1) { - auto memory = reinterpret_cast (malloc (cr::max (1u, length * sizeof (T)))); + auto memory = reinterpret_cast (malloc (cr::max (1u, length * sizeof (T)))); if (!memory) { plat.abort ();