Change int->int32, for clarity.

jw.pgsql@sduept.com
This commit is contained in:
Bruce Momjian 2006-04-12 21:46:31 +00:00
parent 6ae559daf8
commit 1cae920e32

View File

@ -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);