aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()
}
}