-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix data parameter for attribute decoding functions.
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.
- Loading branch information
1 parent
51c3d96
commit ee59c3d
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters