Skip to content
Snippets Groups Projects
Commit 4dc5b6ea authored by Jeremy Huddleston Sequoia's avatar Jeremy Huddleston Sequoia
Browse files

xfree86: Fix powerpc build with -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast


memType is a uint64_t on powerpc. Using memType only really makes
sense for *physical* addresses, which can be 64-bit for 32-bit
systems running on 64-bit hardware.

However, unmapVidMem() only deals with *virtual* addresses, which
are guaranteed to fit into an uintptr_t.

Signed-off-by: default avatarJeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
(cherry picked from commit eb3377ff)
parent a1925f08
No related branches found
Tags gst-docs-1.18.4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment