From 99dfc67d601e8ce3580d5f603c0329d4ce0ccba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 29 Dec 2017 19:16:31 +0100 Subject: [PATCH] style: Specify the type of a pointer. This avoids nightly warnings. --- components/style/gecko/wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs index d399109fee8..0f5c060ee57 100644 --- a/components/style/gecko/wrapper.rs +++ b/components/style/gecko/wrapper.rs @@ -1776,7 +1776,7 @@ impl<'le> Eq for GeckoElement<'le> {} impl<'le> Hash for GeckoElement<'le> { #[inline] fn hash(&self, state: &mut H) { - (self.0 as *const _).hash(state); + (self.0 as *const RawGeckoElement).hash(state); } }