Module Name:    src
Committed By:   christos
Date:           Mon Mar  4 20:05:01 UTC 2019

Modified Files:
        src/external/bsd/jemalloc/dist/include/jemalloc/internal:
            jemalloc_internal_inlines_a.h

Log Message:
use UNCONST


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    
src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h
diff -u src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h:1.1.1.1 src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h:1.2
--- src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h:1.1.1.1	Mon Mar  4 12:10:23 2019
+++ src/external/bsd/jemalloc/dist/include/jemalloc/internal/jemalloc_internal_inlines_a.h	Mon Mar  4 15:05:01 2019
@@ -89,7 +89,7 @@ arena_get(tsdn_t *tsdn, unsigned ind, bo
 	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;

Reply via email to