@@ -196,8 +196,8 @@
inline int __builtin_ctzll(unsigned long long x)
{
unsigned long o;
- _BitScanForward64(&o, x);
- return o;
+ _BitScanForward64(&o, x);
+ return o;
}
#endif
@@ -53,7 +53,7 @@ void DynamicArray<T, TSize>::resizeStorage(TAllocator alloc, Size newSize)
ANKI_ASSERT(m_data);
// Delete remaining stuff
- for(U i = newSize; i < m_size; ++i)
+ for(Size i = newSize; i < m_size; ++i)
m_data[i].~T();
@@ -274,7 +274,7 @@ void SparseArray<T, TIndex>::validate() const
// Start iterating
U elementCount = 0;
- U count = m_capacity;
+ Index count = m_capacity;
Index pos = startPos;
Index prevPos = ~Index(0);
while(count--)