Changeset: 52f8f0166111 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=52f8f0166111 Modified Files: geom/monetdb5/geom.c Branch: geo Log Message:
conversion from 'size_t' to 'int' fixed diffs (13 lines): diff --git a/geom/monetdb5/geom.c b/geom/monetdb5/geom.c --- a/geom/monetdb5/geom.c +++ b/geom/monetdb5/geom.c @@ -1222,8 +1222,7 @@ str wkbAsText(char **txt, wkb **geomWKB, } sprintf(sridIntToString, "%d", (*geomWKB)->srid); - len = strlen(wkt)+strlen(sridIntToString)+strlen(sridTxt)+2; - *txt = GDKmalloc(len); + *txt = GDKmalloc(strlen(wkt)+strlen(sridIntToString)+strlen(sridTxt)+2); if(*txt == NULL) { GDKfree(wkt); GDKfree(sridIntToString); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list