Changeset: 3b2774eff208 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3b2774eff208
Modified Files:
        geom/monetdb5/geom.c
Branch: geo
Log Message:

Add a cast.


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
@@ -5036,7 +5036,7 @@ int mbrTOSTR(char **dst, int *len, mbr *
                assert(dstStrLen < GDK_int_max);
        }
 
-       if (*len < dstStrLen + 1 || *dst == NULL) {
+       if (*len < (int) dstStrLen + 1 || *dst == NULL) {
                GDKfree(*dst);
                *dst = GDKmalloc(*len = (int) dstStrLen + 1);
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to