From 56ac9dc948d89043e83af9ab48cdf1123f29e7f9 Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 17 May 2023 19:19:40 +0200 Subject: [PATCH] unnecessary type-conversion. --- OSMDatastructure/Tag.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();