From b12c346549cf2eff854de85ee6f11a395aac5300 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 20 Jan 2021 20:45:35 +0000 Subject: [PATCH] Change Coord to i32. Size should not depend on our pointer size, so isize is wrong. Signed-off-by: Ian Jackson --- src/spec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec.rs b/src/spec.rs index 43fef1d1..5d87b361 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -27,7 +27,7 @@ type ME = crate::commands::MgmtError; //---------- common types ---------- -pub type Coord = isize; +pub type Coord = i32; #[derive(Clone,Copy,Debug,Serialize,Deserialize,Hash)] #[derive(Eq,PartialEq,Ord,PartialOrd)] -- 2.30.2