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/include/jemalloc/internal use UNC...



details:   https://anonhg.NetBSD.org/src/rev/2c261e3e3380
branches:  trunk
changeset: 449381:2c261e3e3380
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 04 20:05:01 2019 +0000

description:
use UNCONST

diffstat:

 external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 3ebb7ff0696c -r 2c261e3e3380 external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h
--- a/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h        Mon Mar 04 20:04:43 2019 +0000
+++ b/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h        Mon Mar 04 20:05:01 2019 +0000
@@ -89,7 +89,7 @@
        if (unlikely(ret == NULL)) {
                if (init_if_missing) {
                        ret = arena_init(tsdn, ind,
-                           (extent_hooks_t *)&extent_hooks_default);
+                           (extent_hooks_t *)__UNCONST(&extent_hooks_default));
                }
        }
        return ret;



Home | Main Index | Thread Index | Old Index