Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2023 20:00:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 268790] graphics/gimp-app: fix build with clang 15
Message-ID:  <bug-268790-6497-YEjR6gDUPc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268790-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268790-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 268790: graphics/gimp-app: fix build with clang 15
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268790



--- Description ---
During an exp-run for llvm 15 (see bug 265425), it turned out that
graphics/gimp-app failed to build with clang 15:

  file-dicom.c:605:26: error: incompatible pointer to integer conversion
returning 'void *' from a function with result type 'gint32' (aka 'int')
[-Wint-conversion]
		    return NULL;
			   ^~~~

This is because the return statement is a function that should return an
integer, not a pointer. Replace it with the error value -1, as used
elsewhere in the function.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268790-6497-YEjR6gDUPc>