diff --git a/lib/identify.c b/lib/identify.c index 8b28856..67d4ca0 100644 --- a/lib/identify.c +++ b/lib/identify.c @@ -852,7 +852,7 @@ static void rotate_capstone(struct quirc_capstone *cap, struct quirc_point copy[4]; int j; int best = 0; - int best_score = INT32_MAX; + int best_score = INT_MAX; for (j = 0; j < 4; j++) { struct quirc_point *p = &cap->corners[j];