[prev in list] [next in list] [prev in thread] [next in thread] 

List:       monetdb-checkins
Subject:    [Monetdb-checkins] MonetDB/src/gdk gdk_relop.mx, MonetDB_1-24,
From:       Sjoerd Mullender <sjoerd () users ! sourceforge ! net>
Date:       2008-10-31 10:24:12
Message-ID: E1KvrAr-0008Mi-0i () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32151

Modified Files:
      Tag: MonetDB_1-24
	gdk_relop.mx 
Log Message:
Add a cast.


U gdk_relop.mx
Index: gdk_relop.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_relop.mx,v
retrieving revision 1.145.2.4
retrieving revision 1.145.2.5
diff -u -d -r1.145.2.4 -r1.145.2.5
--- gdk_relop.mx	28 Oct 2008 17:47:45 -0000	1.145.2.4
+++ gdk_relop.mx	31 Oct 2008 10:24:10 -0000	1.145.2.5
@@ -160,7 +160,7 @@
                 REGISTER size_t _tsize = Tsize(b);              \
                 if (BUNlast(b) + 1 > BATcapacity(b)) {		\
                         if (limit) {				\
-                              *limit = b->batCount*percdone;	\
+				*limit = (size_t) (b->batCount*(percdone)); \
                               goto bunins_done;			\
 			}					\
                         if (BATextend(b, BATgrows(b)) == NULL)  \


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-checkins mailing list
Monetdb-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic