summaryrefslogtreecommitdiffstats
path: root/src/LazyArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LazyArray.h')
-rw-r--r--src/LazyArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LazyArray.h b/src/LazyArray.h
index 7015d6c47..310a1e2c6 100644
--- a/src/LazyArray.h
+++ b/src/LazyArray.h
@@ -83,7 +83,7 @@ public:
{
if (m_Array == nullptr)
{
- m_Array.reset(new T[m_Size]);
+ m_Array.reset(new T[ToUnsigned(m_Size)]);
}
return m_Array.get();
}