From a39525215b955d80399809257f77512c50efb1ff Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Mon, 13 Feb 2023 00:20:56 +0100 Subject: Fix PointedThing node position signedness --- src/to_srv.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 }, } -- cgit v1.2.3