From 443d612fa25ab65f13f3f1e332f5ef3033aa63e0 Mon Sep 17 00:00:00 2001 From: Christof Meerwald Date: Thu, 18 Dec 2025 18:54:20 +0000 Subject: [PATCH] Remove superfluous cast of NULL pointer --- ext/solv_xfopen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/solv_xfopen.c b/ext/solv_xfopen.c index a117a582..6bbeda71 100644 --- a/ext/solv_xfopen.c +++ b/ext/solv_xfopen.c @@ -33,7 +33,7 @@ FILE *solv_cookieopen(void *cookie, const char *mode, return funopen(cookie, (int (*)(void *, char *, int))(*mode == 'r' ? cread : NULL), /* readfn */ (int (*)(void *, const char *, int))(*mode == 'w' ? cwrite : NULL), /* writefn */ - (fpos_t (*)(void *, fpos_t, int))NULL, /* seekfn */ + NULL, /* seekfn */ cclose ); #elif defined(HAVE_FOPENCOOKIE) -- 2.47.3