From: Christof Meerwald Date: Thu, 18 Dec 2025 18:54:20 +0000 (+0000) Subject: Remove superfluous cast of NULL pointer X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F603%2Fhead;p=thirdparty%2Flibsolv.git Remove superfluous cast of NULL pointer --- 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)