From 973ae30e7c4f7a1afb385dd3d8eeea178f981445 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 13:24:39 +0200 Subject: fix deprecated prototypes --- src/spf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/spf.c') diff --git a/src/spf.c b/src/spf.c index 29da3df..18d86a3 100644 --- a/src/spf.c +++ b/src/spf.c @@ -73,7 +73,7 @@ int spf_query( break; case 0: if (!ip4_scan(remoteip, ip4remote)) return SPF_SYNTAX; - if (ipme_is4(ip4remote) == 1) { + if (ipme_is4((struct ip4_address *)ip4remote) == 1) { if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM; if (!spf_info("R:", "+")) return SPF_NOMEM; return SPF_ME; @@ -81,7 +81,7 @@ int spf_query( break; case 1: if (!ip6_scan(remoteip, ip6remote)) return SPF_SYNTAX; - if (ipme_is6(ip6remote) == 1) { + if (ipme_is6((struct ip6_address *)ip6remote) == 1) { if (!spf_info("MLocal=", remoteip)) return SPF_NOMEM; if (!spf_info("R:", "+")) return SPF_NOMEM; return SPF_ME; -- cgit v1.2.3