diff options
Diffstat (limited to 'src/backend/utils/adt/geo_ops.c')
-rw-r--r-- | src/backend/utils/adt/geo_ops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/geo_ops.c b/src/backend/utils/adt/geo_ops.c index 031f754ee65..3458b48d89e 100644 --- a/src/backend/utils/adt/geo_ops.c +++ b/src/backend/utils/adt/geo_ops.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.23 1997/09/08 21:48:27 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.24 1997/09/18 20:22:13 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -2549,7 +2549,7 @@ poly_in(char *str) size = offsetof(POLYGON, p[0]) +(sizeof(poly->p[0]) * npts); poly = PALLOC(size); - memset((char *) poly, 0, size); /* zero any holes */ + MemSet((char *) poly, 0, size); /* zero any holes */ poly->size = size; poly->npts = npts; @@ -3191,7 +3191,7 @@ upgradepath(PATH *path) npts = (path->npts - 1); size = offsetof(PATH, p[0]) +(sizeof(path->p[0]) * npts); result = PALLOC(size); - memset((char *) result, 0, size); + MemSet((char *) result, 0, size); result->size = size; result->npts = npts; @@ -3351,7 +3351,7 @@ upgradepoly(POLYGON *poly) size = offsetof(POLYGON, p[0]) +(sizeof(poly->p[0]) * poly->npts); result = PALLOC(size); - memset((char *) result, 0, size); + MemSet((char *) result, 0, size); result->size = size; result->npts = poly->npts; @@ -3398,7 +3398,7 @@ revertpoly(POLYGON *poly) size = offsetof(POLYGON, p[0]) +(sizeof(poly->p[0]) * poly->npts); result = PALLOC(size); - memset((char *) result, 0, size); + MemSet((char *) result, 0, size); result->size = size; result->npts = poly->npts; @@ -3996,7 +3996,7 @@ circle_poly(int npts, CIRCLE *circle) size = offsetof(POLYGON, p[0]) +(sizeof(poly->p[0]) * npts); poly = PALLOC(size); - memset((char *) poly, 0, size); /* zero any holes */ + MemSet((char *) poly, 0, size); /* zero any holes */ poly->size = size; poly->npts = npts; |