We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7629f79 commit 7f8d4c4Copy full SHA for 7f8d4c4
path.c
@@ -1022,7 +1022,7 @@ spherepath_add_point(PG_FUNCTION_ARGS)
1022
1023
size = offsetof(SPATH, p[0]) +sizeof(SPoint) * (path->npts + 1);
1024
path_new = palloc(size);
1025
- memcpy((void *) path, (void *) path_new, VARSIZE(path));
+ memcpy((void *) path_new, (void *) path, VARSIZE(path));
1026
path_new->npts++;
1027
1028
#if PG_VERSION_NUM < 80300
0 commit comments