Changeset: 16605394f3b6 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=16605394f3b6 Modified Files: MonetDB5/src/modules/mal/tokenizer.mx Branch: Jun2010 Log Message:
Prevent assignment of oid to int by using safe cast. diffs (12 lines): diff -r 006b01024195 -r 16605394f3b6 MonetDB5/src/modules/mal/tokenizer.mx --- a/MonetDB5/src/modules/mal/tokenizer.mx Fri Sep 03 14:03:49 2010 +0200 +++ b/MonetDB5/src/modules/mal/tokenizer.mx Mon Sep 06 15:58:10 2010 +0200 @@ -148,7 +148,7 @@ #endif #define COMP(h, d) ((h<<8)|(d&255)) -#define GET_d(x) ((x)&255) +#define GET_d(x) ((sht)((x)&255)) #define GET_h(x) ((x)>>8) str _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
