Blob Blame History Raw
diff -ur pgsphere-1.1.1/line.c pgsphere-1.1.1-psql93/line.c
--- pgsphere-1.1.1/line.c	2010-01-31 21:26:50.000000000 +0100
+++ pgsphere-1.1.1-psql93/line.c	2013-09-18 10:58:31.188387077 +0200
@@ -226,11 +226,11 @@
     }
   }
 
-  int4 sphereline_latitude_points ( const SLine * sl, float8 lat, SPoint *p1, SPoint *p2 )
+  int32 sphereline_latitude_points ( const SLine * sl, float8 lat, SPoint *p1, SPoint *p2 )
   {
 
     float8 inc = sl->theta - floor ( sl->theta / PID ) * PID ;
-    int4   ret = 0;
+    int32   ret = 0;
 
     if ( FPgt( lat, PIH ) ) return 0;
     if ( FPlt( lat,-PIH ) ) return 0;
diff -ur pgsphere-1.1.1/line.h pgsphere-1.1.1-psql93/line.h
--- pgsphere-1.1.1/line.h	2008-02-03 13:43:35.000000000 +0100
+++ pgsphere-1.1.1-psql93/line.h	2013-09-18 10:58:42.308474324 +0200
@@ -97,7 +97,7 @@
     \param p2 second returned spherical point
     \return count of found points or <0 if undefined
   */
-  int4 sphereline_latitude_points ( const SLine * sl, float8 lat, SPoint *p1, SPoint *p2 );
+  int32 sphereline_latitude_points ( const SLine * sl, float8 lat, SPoint *p1, SPoint *p2 );
 
   /*!
     \brief Returns true, if the two lines are equal