Index: src/typing.h |
diff --git a/src/typing.h b/src/typing.h |
index 0ca92f3a42343b8549964350ae5251f30bf17225..34649775fb8231d79b012ba00209d6ef88e6f789 100644 |
--- a/src/typing.h |
+++ b/src/typing.h |
@@ -23,9 +23,7 @@ class AstTyper: public AstVisitor { |
public: |
static void Run(CompilationInfo* info); |
- void* operator new(size_t size, Zone* zone) { |
- return zone->New(static_cast<int>(size)); |
- } |
+ void* operator new(size_t size, Zone* zone) { return zone->New(size); } |
void operator delete(void* pointer, Zone* zone) { } |
void operator delete(void* pointer) { } |