Changeset: d1601035ba74 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d1601035ba74
Modified Files:
monetdb5/modules/mal/tablet.c
Branch: nested
Log Message:
use correct type
diffs (14 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
@@ -417,8 +417,8 @@ output_multiset_sorted(char **buf, size_
int first = 1;
if (msid->p) {
- int pos = msid->p;
- while (idp[-1] >= id && (pos-1) >= 0) {
+ BUN pos = msid->p;
+ while (idp[-1] >= id && pos > 0) {
idp--;
pos--;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]