Global: Fix some type comparison/shadow warnings.

This commit is contained in:
Unknown W. Brackets committed 2018-02-11 07:03:23 -08:00
1 parent 9a40a5971b
commit 0e2a586c1b
8 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ void DrawAllocatorVis(UIContext *ui, GPUInterface *gpu) {
uint32_t *wideData = (uint32_t *)initData.data();
// Convert to nice colors. If we really wanted to save on memory, we could use a 16-bit texture...
for (int j = 0; j < usage.size(); j++) {
for (size_t j = 0; j < usage.size(); j++) {
switch (usage[j]) {
case 0: wideData[j] = 0xFF333333; break;
case 1: wideData[j] = 0xFF33FF33; break;