Removed unneeded cast [skip ci]

This commit is contained in:
Andrew Kane
2024-10-13 19:45:04 -07:00
parent 05944f5a6f
commit f5b225530f

View File

@@ -646,10 +646,10 @@ intvec_cmp_internal(IntVector * a, IntVector * b)
/* Check values before dimensions to be consistent with Postgres arrays */
for (int i = 0; i < dim; i++)
{
if ((int) a->x[i] < (int) b->x[i])
if (a->x[i] < b->x[i])
return -1;
if ((int) a->x[i] > (int) b->x[i])
if (a->x[i] > b->x[i])
return 1;
}