Nebula: Use size_t instead of int32 for iterator
This commit is contained in:
@@ -465,7 +465,7 @@ SettingsView::SettingsView(BRect frame)
|
|||||||
size_t widthsLength = sizeof(widths) / sizeof(widths[0]);
|
size_t widthsLength = sizeof(widths) / sizeof(widths[0]);
|
||||||
|
|
||||||
popMenu = new BPopUpMenu("");
|
popMenu = new BPopUpMenu("");
|
||||||
for (int32 i = 0; i < widthsLength; i++) {
|
for (size_t i = 0; i < widthsLength; i++) {
|
||||||
BString label;
|
BString label;
|
||||||
if (widths[i] == 0)
|
if (widths[i] == 0)
|
||||||
label.SetTo("screen resolution");
|
label.SetTo("screen resolution");
|
||||||
|
|||||||
Reference in New Issue
Block a user