]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add const...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 11 Oct 2021 16:36:57 +0000 (11:36 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 11 Oct 2021 16:36:57 +0000 (11:36 -0500)
src/lib/util/pair.h

index 49bced1777b2cc46a30559be0f0c9c32cddbc5f5..52d2bf7aff6a9567245cf2427321459a70848a97 100644 (file)
@@ -183,7 +183,7 @@ DIAG_OFF(nonnull-compare)
  * This function wraps the assert but has nonnull-compare disabled
  * meaning a warning won't be emitted.
  */
-static inline fr_pair_nonnull_assert(fr_pair_t *vp)
+static inline fr_pair_nonnull_assert(fr_pair_t const *vp)
 {
        fr_cond_assert(vp)
 }