This PR fixes a bug where a local variable was declared to be the wrong type, causing an error at compilation time when compiling with gcc 14. gcc 14 rejects assignments of incompatible pointer types without an explicit cast. In this case, the solution is declare the variable to be of the correct type in the first place.
------------- Commit messages: - 8354318: freetype.c: compilation error: 'incompatible pointer type' with gcc 14 Changes: https://git.openjdk.org/jfx/pull/1771/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1771&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8354318 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/1771.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1771/head:pull/1771 PR: https://git.openjdk.org/jfx/pull/1771