From 1cae920e3209e4f5b1464aaef0c8bee59c53c946 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 12 Apr 2006 21:46:31 +0000 Subject: [PATCH] Change int->int32, for clarity. jw.pgsql@sduept.com --- contrib/intarray/_int_gist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/intarray/_int_gist.c b/contrib/intarray/_int_gist.c index e2f1225d2c..f82024896f 100644 --- a/contrib/intarray/_int_gist.c +++ b/contrib/intarray/_int_gist.c @@ -195,7 +195,7 @@ g_int_compress(PG_FUNCTION_ARGS) min = (dr[i] - dr[i - 1]); cand = i; } - memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int)); + memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int32)); len -= 2; } r = resize_intArrayType(r, len); -- 2.11.0