Changeset: ce8fb27496ac for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ce8fb27496ac
Modified Files:
geom/monetdb5/geom.c
Branch: geo
Log Message:
wkbAsText(): use correct type: strlen() returns size_t, no int
this also fixes compilation on systems that (correctly) complain
about assignments of larger to smaller types;
thanks to those compilers for warning us!
diffs (12 lines):
diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c
--- a/geom/monetdb5/geom.c
+++ b/geom/monetdb5/geom.c
@@ -1205,7 +1205,7 @@ str wkbAsText(char **txt, wkb **geomWKB,
} else {
char* sridTxt = "SRID:";
char* sridIntToString = NULL;
- int len = 0;
+ size_t len = 0;
//count the number of digits in srid
int tmp = (*geomWKB)->srid;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list