summaryrefslogtreecommitdiff
path: root/source/core/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/list.h')
-rw-r--r--source/core/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/list.h b/source/core/list.h
index cddcbb6c0..11d798dcf 100644
--- a/source/core/list.h
+++ b/source/core/list.h
@@ -472,7 +472,7 @@ namespace Slang
if (bufferSize > _count && _count > 0)
{
T * newBuffer = Allocate(_count);
- for (int i = 0; i < _count; i++)
+ for (UInt i = 0; i < _count; i++)
newBuffer[i] = static_cast<T&&>(buffer[i]);
FreeBuffer();
buffer = newBuffer;