On 2008-08-08 18:30, Stefan Manegold wrote:
> Update of /cvsroot/monetdb/MonetDB5/src/mal
> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22332/src/mal
> 
> Modified Files:
>       mal_debugger.mx mal_recycle.mx 
> Log Message:
> 
> acknowledge the type that functions return (for good reasons);
> for BATcount(), it is size_t .

  @@ -789,8 +789,8 @@
>  
>  static void
>  printBATproperties(stream *f, BAT *b){
> -     stream_printf(f, " count=%d lrefs=%d ", 
> -             (int) BATcount(b), BBP_lrefs(ABS(b->batCacheid)));
> +     stream_printf(f, " count=%d lrefs=" SZFMT " ", 
> +             BATcount(b), BBP_lrefs(ABS(b->batCacheid)));
>       if(  BBP_refs(ABS(b->batCacheid)) - 1)
>               stream_printf(f, " refs=%d ", BBP_refs(ABS(b->batCacheid)) - 1);
>       if( b->batSharecnt)
> 

I think you got this backwards: it should be count=SZFMT , lrefs=%d.

-- 
Sjoerd Mullender

-------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to