From: Lizzy Fleckenstein Date: Sun, 12 Feb 2023 23:20:56 +0000 (+0100) Subject: Fix PointedThing node position signedness X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a39525215b955d80399809257f77512c50efb1ff;p=mt_net.git Fix PointedThing node position signedness --- diff --git a/src/to_srv.rs b/src/to_srv.rs index 51b824e..ce5282c 100644 --- a/src/to_srv.rs +++ b/src/to_srv.rs @@ -36,10 +36,10 @@ pub enum Interaction { } #[mt_derive(to = "srv", repr = "u8", tag = "type")] -#[mt(const8 = 0)] +#[mt(const8 = 0)] // version pub enum PointedThing { None = 0, - Node { under: [u16; 3], above: [u16; 3] }, + Node { under: [i16; 3], above: [i16; 3] }, Obj { obj: u16 }, }