fix compiling with -Werror
This commit is contained in:
parent
bcc674bdf1
commit
b8064e8309
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ int main(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t i = 0; i < lineCount - 1; i++) {
|
for (size_t i = 0; i < lineCount - 1; i++) {
|
||||||
int leftMin = i;
|
size_t leftMin = i;
|
||||||
int rightMin = i;
|
size_t rightMin = i;
|
||||||
|
|
||||||
for (size_t j = i + 1; j < lineCount; j++) {
|
for (size_t j = i + 1; j < lineCount; j++) {
|
||||||
if (left[j] < left[leftMin]) {
|
if (left[j] < left[leftMin]) {
|
||||||
|
|
Loading…
Reference in a new issue