Nebula: Use size_t instead of int32 for iterator

This commit is contained in:
John Scipione
2015-07-08 15:33:03 -07:00
parent 1a1667fc1d
commit ab2bb7fe61
+1 -1
View File
@@ -465,7 +465,7 @@ SettingsView::SettingsView(BRect frame)
size_t widthsLength = sizeof(widths) / sizeof(widths[0]);
popMenu = new BPopUpMenu("");
for (int32 i = 0; i < widthsLength; i++) {
for (size_t i = 0; i < widthsLength; i++) {
BString label;
if (widths[i] == 0)
label.SetTo("screen resolution");