]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use real type, and not uintptr_t
authorAlan T. DeKok <aland@freeradius.org>
Wed, 4 Mar 2026 16:29:42 +0000 (11:29 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 4 Mar 2026 16:29:42 +0000 (11:29 -0500)
src/lib/unlang/xlat_func.h

index 6d64d87b17c118971ad984eab390f5a557882302..cbf841766fe4327ed2a01e03e16527e6ea91ffa4 100644 (file)
@@ -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