aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 33c66db..868d4c0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -346,7 +346,7 @@ impl Window {
/// This is typically only required when integrating with
/// other libraries that need this information.
#[inline]
- pub fn platform_display(&self) -> *mut libc::c_void {
+ pub unsafe fn platform_display(&self) -> *mut libc::c_void {
self.window.platform_display()
}
}