Merge pull request #197 from bluss/future-compat-warning

Fix future compat warning with raw pointer casts
diff --git a/src/graphmap.rs b/src/graphmap.rs
index 1597aa8..945abe0 100644
--- a/src/graphmap.rs
+++ b/src/graphmap.rs
@@ -760,8 +760,8 @@
 {
     /// Ptr is ordered by pointer value, i.e. an arbitrary but stable and total order.
     fn cmp(&self, other: &Ptr<'b, T>) -> Ordering {
-        let a = self.0 as *const _;
-        let b = other.0 as *const _;
+        let a: *const T = self.0;
+        let b: *const T = other.0;
         a.cmp(&b)
     }
 }