OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae559d
)
Change int->int32, for clarity.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 12 Apr 2006 21:46:31 +0000
(21:46 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 12 Apr 2006 21:46:31 +0000
(21:46 +0000)
jw.pgsql@sduept.com
contrib/intarray/_int_gist.c
patch
|
blob
|
history
diff --git
a/contrib/intarray/_int_gist.c
b/contrib/intarray/_int_gist.c
index
e2f1225
..
f820248
100644
(file)
--- 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(int
32
));
len -= 2;
}
r = resize_intArrayType(r, len);