Changeset: b86d2738c30f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b86d2738c30f
Modified Files:
        gdk/gdk_select.c
Branch: default
Log Message:

Silence compiler.

When compiling in  Mic-Windows7-x86_64-oid32 the following error is produced

gdk_select.c:602: '=' : conversion from 'wrd' to 'oid', possible loss of data

fixed it by casting to correct types.


diffs (12 lines):

diff --git a/gdk/gdk_select.c b/gdk/gdk_select.c
--- a/gdk/gdk_select.c
+++ b/gdk/gdk_select.c
@@ -599,7 +599,7 @@ fullscan_any(BAT *b, BAT *s, BAT *bn, co
 /* scan/imprints select with candidates */
 scan_sel(candscan, o = (oid) (*candlist++), w = (BUN) ((*(oid *) Tloc(s,q?(q - 
1):0)) + 1))
 /* scan/imprints select without candidates */
-scan_sel(fullscan, o = p+off, w = q+off)
+scan_sel(fullscan, o = (oid) p+off, w = (BUN) q+off)
 
 
 static BAT *
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to