Commit 7d3a9917ede0e89f0d49c16205deb89edb127e66.
Same warnings/error as before. Apparently, the compiler doesn't like subtracting a UINT8 from the constant 256.
Edit: The following would allow compilation:
newEPS->DMI.Checksum = (UINT8) (256 - (int) Checksum8(&newEPS->DMI, sizeof(newEPS->DMI)));
newEPS->Checksum = (UINT8) (256 - (int) Checksum8(newEPS, sizeof(* newEPS)));
Shall I post such a compilation?
Same warnings/error as before. Apparently, the compiler doesn't like subtracting a UINT8 from the constant 256.
Edit: The following would allow compilation:
newEPS->DMI.Checksum = (UINT8) (256 - (int) Checksum8(&newEPS->DMI, sizeof(newEPS->DMI)));
newEPS->Checksum = (UINT8) (256 - (int) Checksum8(newEPS, sizeof(* newEPS)));
Shall I post such a compilation?