[Monetdb-developers] [Monetdb-checkins] clients/src/mapiclient dump.c, Nov2009, 1.50.2.2, 1.50.2.3

Stefan Manegold Stefan.Manegold at cwi.nl
Fri Nov 6 22:25:34 CET 2009


On Fri, Nov 06, 2009 at 09:10:01PM +0000, Sjoerd Mullender wrote:
> Update of /cvsroot/monetdb/clients/src/mapiclient
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11170
> 
> Modified Files:
>       Tag: Nov2009
> 	dump.c 
> Log Message:
> cap needs to be an int.  Solving the problem by adding a cast.

Thanks for watching & fixing!

... and sorry for not paying sufficient attention myself (relied to much on
the compilers, none complained, neither on Windows nor on Linux ...)

Stefan

> 
> Index: dump.c
> ===================================================================
> RCS file: /cvsroot/monetdb/clients/src/mapiclient/dump.c,v
> retrieving revision 1.50.2.2
> retrieving revision 1.50.2.3
> diff -u -d -r1.50.2.2 -r1.50.2.3
> --- dump.c	6 Nov 2009 19:58:34 -0000	1.50.2.2
> +++ dump.c	6 Nov 2009 21:09:56 -0000	1.50.2.3
> @@ -293,8 +293,8 @@
>  	char *view = NULL;
>  	size_t maxquerylen;
>  	char *sname = NULL;
> -	ssize_t cap;
> -#define CAP(X) ((cap = (X)) < 0 ? 0 : cap)
> +	int cap;
> +#define CAP(X) ((cap = (int) (X)) < 0 ? 0 : cap)
>  
>  
>  	if (schema == NULL) {
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Monetdb-checkins mailing list
> Monetdb-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> 
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list