From 888343aea35b155964130689014a51ed7f6b8057 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 20 Nov 2015 20:49:34 -0800 Subject: [PATCH] Cleanup. --- src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.cpp b/src/image.cpp index 366c9799..19a47f95 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -2524,7 +2524,7 @@ namespace bgfx , _imageContainer.m_numMips ); - for (uint32_t lod = 0, num = _imageContainer.m_numMips; lod < num; ++lod) + for (uint8_t lod = 0, num = _imageContainer.m_numMips; lod < num; ++lod) { ImageMip mip; imageGetRawData(_imageContainer, 0, lod, _data, _size, mip);