[postgis-tickets] r15654 - Remove type warning

Paul Ramsey pramsey at cleverelephant.ca
Thu Sep 7 06:00:14 PDT 2017


Author: pramsey
Date: 2017-09-07 06:00:13 -0700 (Thu, 07 Sep 2017)
New Revision: 15654

Modified:
   trunk/postgis/geobuf.c
Log:
Remove type warning


Modified: trunk/postgis/geobuf.c
===================================================================
--- trunk/postgis/geobuf.c	2017-09-07 12:36:23 UTC (rev 15653)
+++ trunk/postgis/geobuf.c	2017-09-07 13:00:13 UTC (rev 15654)
@@ -85,7 +85,7 @@
 		value->pos_int_value = intval;
 	} else {
 		value->value_type_case = DATA__VALUE__VALUE_TYPE_NEG_INT_VALUE;
-		value->neg_int_value = abs(intval);
+		value->neg_int_value = labs(intval);
 	}
 }
 



More information about the postgis-tickets mailing list