From: Arran Cudbard-Bell Date: Tue, 17 Aug 2021 15:33:53 +0000 (-0500) Subject: Cast UINTPTR_MAX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ebe62846c685b471134a329b4e06d0e2193f9a;p=thirdparty%2Ffreeradius-server.git Cast UINTPTR_MAX --- diff --git a/src/lib/util/heap.c b/src/lib/util/heap.c index eaa107ea8c9..ef56e890beb 100644 --- a/src/lib/util/heap.c +++ b/src/lib/util/heap.c @@ -80,7 +80,7 @@ fr_heap_t *_fr_heap_alloc(TALLOC_CTX *ctx, fr_heap_cmp_t cmp, char const *type, * that the data isn't currently inserted * into the heap. */ - hp->p[0] = UINTPTR_MAX; + hp->p[0] = (void *)UINTPTR_MAX; hp->type = type; hp->cmp = cmp;