Index: src/list.h |
diff --git a/src/list.h b/src/list.h |
index 19dc7337d3ff1d98e51b5003bdd301973e7964dc..aff63c3828061e5a2480e33fe5b1a3b322b60c15 100644 |
--- a/src/list.h |
+++ b/src/list.h |
@@ -59,7 +59,9 @@ class List { |
Initialize(0); |
} |
- INLINE(void* operator new(size_t size)) { return P::New(size); } |
+ INLINE(void* operator new(size_t size)) { |
+ return P::New(static_cast<int>(size)); |
+ } |
INLINE(void operator delete(void* p, size_t)) { return P::Delete(p); } |
// Returns a reference to the element at index i. This reference is |