- fixed warning about wrong return tzpe of function ItuObjectIdentifier_getArcCount

v1.6
Michael Zillgith 4 weeks ago
parent 3da8aa5222
commit f9bee73c1e

@ -106,6 +106,7 @@ IsoApplicationReference_getApTitle(const IsoApplicationReference* self)
{ {
if (self == NULL) if (self == NULL)
return NULL; return NULL;
return &(self->apTitle); return &(self->apTitle);
} }
@ -113,7 +114,7 @@ LIB61850_API int
ItuObjectIdentifier_getArcCount(ItuObjectIdentifier* self) ItuObjectIdentifier_getArcCount(ItuObjectIdentifier* self)
{ {
if (self == NULL) if (self == NULL)
return NULL; return 0;
return self->arcCount; return self->arcCount;
} }

Loading…
Cancel
Save