Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix data parameter for attribute decoding functions. #497

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

jvalenzuela
Copy link
Contributor

No description provided.

This involves two changes:

1. Remove const data qualifier from the CipAttributeDecodeFromMessage
   function pointer type. Decoding functions are intended to modify the
   attribute data, therefore the attribute data cannot be constant.

2. Make the data parameter for all decoding functions void * to match
   the CipAttributeDecodeFromMessage type.

Resolves compiler warnings about parameters differing from declaration,
e.g. C4028 and -Wincompatible-pointer-types.
@MartinMelikMerkumians MartinMelikMerkumians merged commit ee59c3d into EIPStackGroup:master Mar 6, 2024
1 check failed
@jvalenzuela jvalenzuela deleted the data_param branch March 6, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants