]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add const
authorAlan T. DeKok <aland@freeradius.org>
Fri, 20 Oct 2017 18:27:54 +0000 (14:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 20 Oct 2017 18:27:54 +0000 (14:27 -0400)
src/include/pair.h

index 73999e2c0bcbe05499e10a2c1e551fdfd1e61f69..80f8aa4d6190a5c425a4413f65bf4e4f750a5601 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
 #ifdef WITH_VERIFY_PTR
 #  define VP_VERIFY(_x)                fr_pair_verify(__FILE__, __LINE__, _x)
 #  define LIST_VERIFY(_x)      fr_pair_list_verify(__FILE__, __LINE__, NULL, _x)
-#  define PACKET_VERIFY(_x)    (void) talloc_get_type_abort(_x, RADIUS_PACKET)
+#  define PACKET_VERIFY(_x)    (void) talloc_get_type_abort_const(_x, RADIUS_PACKET)
 #else
 /*
  *     Even if were building without WITH_VERIFY_PTR