projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
210c2e3
)
fixed var declaration misplacement
author
Sandro Santilli
<strk@keybit.net>
Fri, 7 Jan 2005 12:09:12 +0000
(12:09 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Fri, 7 Jan 2005 12:09:12 +0000
(12:09 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1252
b70326c6
-7e19-0410-871a-
916f4a2858ee
lwgeom/lwgeom_functions_basic.c
patch
|
blob
|
history
diff --git
a/lwgeom/lwgeom_functions_basic.c
b/lwgeom/lwgeom_functions_basic.c
index 9350f851862cc331e7b4f447cb0c041ba705be24..c8cdaa72dc406944d27e8f24754757878f8ee576 100644
(file)
--- a/
lwgeom/lwgeom_functions_basic.c
+++ b/
lwgeom/lwgeom_functions_basic.c
@@
-1839,9
+1839,10
@@
Datum LWGEOM_collect_garray(PG_FUNCTION_ARGS)
for (i=0; i<nelems; i++)
{
PG_LWGEOM *geom = (PG_LWGEOM *)(ARR_DATA_PTR(array)+offset);
+ unsigned int intype = TYPE_GETTYPE(geom->type);
+
offset += INTALIGN(geom->size);
- unsigned int intype = TYPE_GETTYPE(geom->type);
lwgeoms[i] = lwgeom_deserialize(SERIALIZED_FORM(geom));
#ifdef DEBUG
elog(NOTICE, "LWGEOM_collect_garray: geom %d deserialized", i);