Changeset: 068e735c9343 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/068e735c9343
Modified Files:
gdk/gdk_firstn.c
Branch: Jan2022
Log Message:
Rewrite so that (hopefully) the compiler won't complain.
diffs (12 lines):
diff --git a/gdk/gdk_firstn.c b/gdk/gdk_firstn.c
--- a/gdk/gdk_firstn.c
+++ b/gdk/gdk_firstn.c
@@ -263,7 +263,7 @@ BATfirstn_unique(BAT *b, BAT *s, BUN n,
return bn;
}
/* note, we want to do both calls */
- if (BATordered(b) | BATordered_rev(b)) {
+ if ((BATordered(b) | BATordered_rev(b)) != 0) {
/* trivial: b is sorted so we just need to return the
* initial or final part of it (or of the candidate
* list); however, if nilslast == asc, then the nil
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]