Changeset: 570e8e8b75f6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=570e8e8b75f6
Modified Files:
monetdb5/modules/mosaic/mosaic_dictionary.h
Branch: mosaic
Log Message:
Fix compilation errors.
diffs (12 lines):
diff --git a/monetdb5/modules/mosaic/mosaic_dictionary.h
b/monetdb5/modules/mosaic/mosaic_dictionary.h
--- a/monetdb5/modules/mosaic/mosaic_dictionary.h
+++ b/monetdb5/modules/mosaic/mosaic_dictionary.h
@@ -22,7 +22,7 @@ typedef struct _EstimationParameters {
#define DictionaryClass(TPE, DICTIONARY_TYPE, GET_BASE, GET_COUNT,
GET_DELTA_COUNT, GET_BITS, GET_BITS_EXTENDED, GET_CAP, GET_VALUE, EXTEND,
CONDITIONAL_INSERT)\
static inline \
BUN _findValue_##TPE(TPE* dict, BUN dict_count, TPE val) {\
- int m, f= 0, l = dict_count;\
+ BUN m, f= 0, l = dict_count;\
while( l-f > 0 ) {\
m = f + (l-f)/2;\
if ( val < dict[m]) l=m-1; else f= m;\
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list