Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1cae920

Browse files
committed
Change int->int32, for clarity.
jw.pgsql@sduept.com
1 parent 6ae559d commit 1cae920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/intarray/_int_gist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ g_int_compress(PG_FUNCTION_ARGS)
195195
min = (dr[i] - dr[i - 1]);
196196
cand = i;
197197
}
198-
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int));
198+
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int32));
199199
len -= 2;
200200
}
201201
r = resize_intArrayType(r, len);

0 commit comments

Comments
 (0)