Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/dist/src add __UNCONST



details:   https://anonhg.NetBSD.org/src/rev/f4999fdbf0c6
branches:  trunk
changeset: 449351:f4999fdbf0c6
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 04 17:19:45 2019 +0000

description:
add __UNCONST

diffstat:

 external/bsd/jemalloc/dist/src/base.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 64a26ae897f8 -r f4999fdbf0c6 external/bsd/jemalloc/dist/src/base.c
--- a/external/bsd/jemalloc/dist/src/base.c     Mon Mar 04 17:19:14 2019 +0000
+++ b/external/bsd/jemalloc/dist/src/base.c     Mon Mar 04 17:19:45 2019 +0000
@@ -509,6 +509,6 @@
 
 bool
 base_boot(tsdn_t *tsdn) {
-       b0 = base_new(tsdn, 0, (extent_hooks_t *)&extent_hooks_default);
+       b0 = base_new(tsdn, 0, (extent_hooks_t *)__UNCONST(&extent_hooks_default));
        return (b0 == NULL);
 }



Home | Main Index | Thread Index | Old Index