diff --git a/OSMDatastructure/Tag.cs b/OSMDatastructure/Tag.cs index 19741c7..049d2fa 100644 --- a/OSMDatastructure/Tag.cs +++ b/OSMDatastructure/Tag.cs @@ -18,7 +18,7 @@ public class Tag switch (key) { case TagType.highway: - this.value = (WayType)value.GetByte(); + this.value = value.GetByte(); break; case TagType.maxspeed: this.value = value.GetByte();