Skip to content

Commit 96f232a

Browse files
committed
fix msvc warning
1 parent a026378 commit 96f232a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void DevTools::renderDrawData(ImDrawData* draw_data) {
105105
auto* list = draw_data->CmdLists[i];
106106

107107
// convert vertex coords to cocos space
108-
for(size_t j = 0; j < list->VtxBuffer.size(); j++) {
108+
for(int j = 0; j < list->VtxBuffer.size(); j++) {
109109
auto point = toCocos(list->VtxBuffer[j].pos);
110110
list->VtxBuffer[j].pos = ImVec2(point.x, point.y);
111111
}

0 commit comments

Comments
 (0)