Module Name: src Committed By: he Date: Wed Mar 21 09:49:03 UTC 2012
Modified Files: src/lib/libc/stdlib: jemalloc.c Log Message: Cast an int argument to umax2s() to size_t. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libc/stdlib/jemalloc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/stdlib/jemalloc.c diff -u src/lib/libc/stdlib/jemalloc.c:1.25 src/lib/libc/stdlib/jemalloc.c:1.26 --- src/lib/libc/stdlib/jemalloc.c:1.25 Wed Mar 21 00:38:06 2012 +++ src/lib/libc/stdlib/jemalloc.c Wed Mar 21 09:49:02 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: jemalloc.c,v 1.25 2012/03/21 00:38:06 christos Exp $ */ +/* $NetBSD: jemalloc.c,v 1.26 2012/03/21 09:49:02 he Exp $ */ /*- * Copyright (C) 2006,2007 Jason Evans <jas...@freebsd.org>. @@ -118,7 +118,7 @@ #include <sys/cdefs.h> /* __FBSDID("$FreeBSD: src/lib/libc/stdlib/malloc.c,v 1.147 2007/06/15 22:00:16 jasone Exp $"); */ -__RCSID("$NetBSD: jemalloc.c,v 1.25 2012/03/21 00:38:06 christos Exp $"); +__RCSID("$NetBSD: jemalloc.c,v 1.26 2012/03/21 09:49:02 he Exp $"); #ifdef __FreeBSD__ #include "libc_private.h" @@ -3227,7 +3227,7 @@ malloc_print_stats(void) ""); _malloc_message("Chunk size: ", umax2s(chunksize, s), "", ""); - _malloc_message(" (2^", umax2s(opt_chunk_2pow, s), ")\n", ""); + _malloc_message(" (2^", umax2s((size_t) opt_chunk_2pow, s), ")\n", ""); #ifdef MALLOC_STATS {