Changeset: 3293617c206b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3293617c206b
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: nested
Log Message:
more windows fixes
diffs (21 lines):
diff --git a/monetdb5/modules/mal/tablet.c b/monetdb5/modules/mal/tablet.c
--- a/monetdb5/modules/mal/tablet.c
+++ b/monetdb5/modules/mal/tablet.c
@@ -526,7 +526,7 @@ static int
output_multiset(Tablet *as, stream *fd, bstream *in)
{
size_t len = BUFSIZ, locallen = BUFSIZ;
- int res = 0;
+ ssize_t res = 0;
char *buf = GDKmalloc(len);
char *localbuf = GDKmalloc(len);
BUN i = 0;
@@ -550,7 +550,7 @@ output_multiset(Tablet *as, stream *fd,
GDKfree(localbuf);
GDKfree(buf);
if (res < 0)
- return -1;
+ return (int)res;
return 0;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]