You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/12/28 16:32:20 UTC

[plc4x] 01/02: - Increased the type for the auto-generated enums to avoid overflow errors

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 7bd2c16bef1f8d5348aee685f500f1c4c34bdb94
Author: cdutz <ch...@c-ware.de>
AuthorDate: Mon Dec 28 17:29:40 2020 +0100

    - Increased the type for the auto-generated enums to avoid overflow errors
---
 protocols/knxnetip/src/main/xslt/knx-types.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocols/knxnetip/src/main/xslt/knx-types.xsl b/protocols/knxnetip/src/main/xslt/knx-types.xsl
index 2f04bb6..85bfa48 100644
--- a/protocols/knxnetip/src/main/xslt/knx-types.xsl
+++ b/protocols/knxnetip/src/main/xslt/knx-types.xsl
@@ -47,7 +47,7 @@
 // under the License.
 //
 
-[enum uint 8 'KnxObjectType' [string 'text']<xsl:apply-templates select="knx:KNX/knx:MasterData/knx:InterfaceObjectTypes/knx:InterfaceObjectType"/>
+[enum uint 16 'KnxObjectType' [string 'text']<xsl:apply-templates select="knx:KNX/knx:MasterData/knx:InterfaceObjectTypes/knx:InterfaceObjectType"/>
 ]
 
 [enum uint 8 'KnxObjectProperties' [string 'name', string 'dataTypeId', string 'text']<xsl:apply-templates select="knx:KNX/knx:MasterData/knx:InterfaceObjectProperties/knx:InterfaceObjectProperty"/>