From f5b225530fb68507827b88a4f122a539c4fb748e Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sun, 13 Oct 2024 19:45:04 -0700 Subject: [PATCH] Removed unneeded cast [skip ci] --- src/intvec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intvec.c b/src/intvec.c index 6fdea3a..58a57ce 100644 --- a/src/intvec.c +++ b/src/intvec.c @@ -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; }