From: Alan T. DeKok Date: Wed, 4 Mar 2026 16:29:42 +0000 (-0500) Subject: use real type, and not uintptr_t X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c045d44de0fdbb0318afa979961986dbcfc376f;p=thirdparty%2Ffreeradius-server.git use real type, and not uintptr_t --- diff --git a/src/lib/unlang/xlat_func.h b/src/lib/unlang/xlat_func.h index 6d64d87b17c..cbf841766fe 100644 --- a/src/lib/unlang/xlat_func.h +++ b/src/lib/unlang/xlat_func.h @@ -79,7 +79,7 @@ void xlat_purify_func_set(xlat_t *xlat, xlat_purify_t func); * @param[in] _xlat function to set the escaped value for (as returned by xlat_register). * @param[in] _escaped escaped value to write to output boxes. */ -#define xlat_func_safe_for_set(_xlat, _escaped) _xlat_func_safe_for_set(_xlat, (uintptr_t) (_escaped)) +#define xlat_func_safe_for_set(_xlat, _escaped) _xlat_func_safe_for_set(_xlat, (fr_value_box_safe_for_t) (_escaped)) void _xlat_func_safe_for_set(xlat_t *xlat, uintptr_t escaped); /** Set a callback for global instantiation of xlat functions