Changeset: 83d7c220afcb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=83d7c220afcb
Modified Files:
MonetDB5/src/optimizer/opt_reorder.mx
Branch: Jun2010
Log Message:
fixed 64-bit compilation with VS on Windows:
InstrPtr.argc is of type int;
hence, no need to declare slots & cnt of type size_t;
this should fix
opt_reorder.mx:132: "=" : conversion from "size_t" to "int", possible loss of
data
diffs (14 lines):
diff -r 34b134628e0f -r 83d7c220afcb MonetDB5/src/optimizer/opt_reorder.mx
--- a/MonetDB5/src/optimizer/opt_reorder.mx Thu Jul 29 08:34:26 2010 +0200
+++ b/MonetDB5/src/optimizer/opt_reorder.mx Thu Jul 29 08:53:15 2010 +0200
@@ -102,8 +102,8 @@
}
for ( i=0; i< mb->stop; i++){
- size_t cnt;
- size_t slots;
+ int cnt;
+ int slots;
p= getInstrPtr(mb,i);
slots = 2 * p->argc;
block |= p->barrier != 0;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list