aboutsummaryrefslogtreecommitdiffstats
path: root/src/platform/linux/api_dispatch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/linux/api_dispatch.rs')
-rw-r--r--src/platform/linux/api_dispatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/linux/api_dispatch.rs b/src/platform/linux/api_dispatch.rs
index aa1ba58..a3c3bf9 100644
--- a/src/platform/linux/api_dispatch.rs
+++ b/src/platform/linux/api_dispatch.rs
@@ -359,7 +359,7 @@ impl GlContext for Window {
}
#[inline]
- fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
+ fn get_proc_address(&self, addr: &str) -> *const () {
match self {
&Window::X(ref w) => w.get_proc_address(addr),
&Window::Wayland(ref w) => w.get_proc_address(addr)