diff --git a/source/src/cip/cipclass3connection.c b/source/src/cip/cipclass3connection.c index 27f31cf1f..578d6d8f4 100644 --- a/source/src/cip/cipclass3connection.c +++ b/source/src/cip/cipclass3connection.c @@ -24,7 +24,7 @@ void Class3ConnectionTimeoutHandler(CipConnectionObject *connection_object) { /**** Implementation ****/ CipError EstablishClass3Connection( - const CipConnectionObject *RESTRICT const connection_object, + CipConnectionObject *RESTRICT const connection_object, EipUint16 *const extended_error) { CipError cip_error = kCipErrorSuccess; diff --git a/source/src/cip/cipclass3connection.h b/source/src/cip/cipclass3connection.h index 24b6e8efa..d1c198f68 100644 --- a/source/src/cip/cipclass3connection.h +++ b/source/src/cip/cipclass3connection.h @@ -50,7 +50,7 @@ EipStatus CipClass3ConnectionObjectStateEstablishedHandler( * - On an error the general status code to be put into the response */ CipError EstablishClass3Connection( - const CipConnectionObject *RESTRICT const connection_object, + CipConnectionObject *RESTRICT const connection_object, EipUint16 *const extended_error); /** @brief Initializes the explicit connections mechanism