diff options
Diffstat (limited to 'source/core/list.h')
| -rw-r--r-- | source/core/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/list.h b/source/core/list.h index 6c4a04fc7..3a325955a 100644 --- a/source/core/list.h +++ b/source/core/list.h @@ -504,7 +504,7 @@ namespace Slang template<typename T2> UInt IndexOf(const T2 & val) const { - for (int i = 0; i < _count; i++) + for (UInt i = 0; i < _count; i++) { if (buffer[i] == val) return i; |
