Skip to content

Commit 6ea80b4

Browse files
committed
From: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>
Minor patches to geo_ops.c to clean up compile under AIX 4.1.3
1 parent 500b17e commit 6ea80b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/utils/adt/geo_ops.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.6 1997/05/11 15:11:41 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -986,7 +986,7 @@ path_close(PATH *path)
986986
{
987987
PATH *result;
988988

989-
if (PointerIsValid((char *)result = path_copy(path)))
989+
if (PointerIsValid((char *)(result = path_copy(path))))
990990
result->closed = TRUE;
991991

992992
return(result);
@@ -997,7 +997,7 @@ path_open(PATH *path)
997997
{
998998
PATH *result;
999999

1000-
if (PointerIsValid((char *)result = path_copy(path)))
1000+
if (PointerIsValid((char *)(result = path_copy(path))))
10011001
result->closed = FALSE;
10021002

10031003
return(result);
@@ -2070,7 +2070,7 @@ POLYGON *poly_in(char *str)
20702070

20712071
#if OLD_FORMAT_IN
20722072
};
2073-
#endif;
2073+
#endif
20742074

20752075
make_bound_box(poly);
20762076

@@ -2639,7 +2639,7 @@ poly_path(POLYGON *poly)
26392639
*
26402640
*
26412641
* IDENTIFICATION
2642-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.6 1997/05/11 15:11:41 thomas Exp $
2642+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
26432643
*
26442644
*-------------------------------------------------------------------------
26452645
*/

0 commit comments

Comments
 (0)