From f9bee73c1e45c4c8a3cff297534c76b73a3840c6 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Thu, 31 Jul 2025 18:17:53 +0100 Subject: [PATCH] - fixed warning about wrong return tzpe of function ItuObjectIdentifier_getArcCount --- src/mms/iso_common/iso_connection_parameters.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mms/iso_common/iso_connection_parameters.c b/src/mms/iso_common/iso_connection_parameters.c index ed9cd30e..188119e4 100644 --- a/src/mms/iso_common/iso_connection_parameters.c +++ b/src/mms/iso_common/iso_connection_parameters.c @@ -106,6 +106,7 @@ IsoApplicationReference_getApTitle(const IsoApplicationReference* self) { if (self == NULL) return NULL; + return &(self->apTitle); } @@ -113,7 +114,7 @@ LIB61850_API int ItuObjectIdentifier_getArcCount(ItuObjectIdentifier* self) { if (self == NULL) - return NULL; + return 0; return self->arcCount; }