fix compiling with -Werror

This commit is contained in:
Parker Macdonald 2024-12-07 17:18:13 -07:00
parent bcc674bdf1
commit b8064e8309

View file

@ -39,8 +39,8 @@ int main(void) {
}
for (size_t i = 0; i < lineCount - 1; i++) {
int leftMin = i;
int rightMin = i;
size_t leftMin = i;
size_t rightMin = i;
for (size_t j = i + 1; j < lineCount; j++) {
if (left[j] < left[leftMin]) {