Re: MonetDB: leftmart - silence some compilers compaining about prin...
Hi Lefteris, the portable format string that we ussually use for size_t in MonetDB is "SZFMT" Best, Stefan ----- On Mar 7, 2016, at 2:38 PM, lsidir commits+lsidir=cwi.nl@monetdb.org wrote:
Changeset: a76605fb0b33 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a76605fb0b33 Modified Files: gdk/gdk_bloom.c Branch: leftmart Log Message:
silence some compilers compaining about printing a size_t as unsigned int or long
diffs (12 lines):
diff --git a/gdk/gdk_bloom.c b/gdk/gdk_bloom.c --- a/gdk/gdk_bloom.c +++ b/gdk/gdk_bloom.c @@ -183,7 +183,7 @@ BATbloom(BAT *b)
ALGODEBUG fprintf(stderr, "#BATbloom(b=%s#" BUNFMT ") %s: " "create bloom filter: mbits = " BUNFMT ", ratio = " BUNFMT - ", kfunc = %d, bytes = " BUNFMT "\n", BATgetId(b), + ", kfunc = %d, bytes = %lu\n", BATgetId(b), BATcount(b), b->T->heap.filename, bloom->mbits, bloom->mbits/BATcount(b), bloom->kfunc, bloom->bytes); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list
-- | Stefan.Manegold@CWI.nl | DB Architectures (DA) | | www.CWI.nl/~manegold/ | Science Park 123 (L321) | | +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) |
participants (1)
-
Stefan Manegold