From 48c2a62f16bbc52d9a60fd4b1aeae9de02e61cbe Mon Sep 17 00:00:00 2001 From: Kevin Jhang Date: Wed, 29 Dec 2021 15:27:33 +0800 Subject: [PATCH] - fixed compiler error: convert faild --- src/iec61850/inc/iec61850_model.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iec61850/inc/iec61850_model.h b/src/iec61850/inc/iec61850_model.h index a53c8c29..ee1887b9 100644 --- a/src/iec61850/inc/iec61850_model.h +++ b/src/iec61850/inc/iec61850_model.h @@ -223,7 +223,6 @@ struct sDataAttribute { ModelNode* firstChild; int elementCount; /* > 0 if this is an array */ - int index; FunctionalConstraint fc; DataAttributeType type; @@ -233,6 +232,8 @@ struct sDataAttribute { MmsValue* mmsValue; uint32_t sAddr; + + int index; }; typedef struct sDataSetEntry {