diff options
Diffstat (limited to 'crc32.c')
-rw-r--r-- | crc32.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -724,8 +724,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, | |||
724 | words = (z_word_t const *)buf; | 724 | words = (z_word_t const *)buf; |
725 | 725 | ||
726 | /* Do endian check at execution time instead of compile time, since ARM | 726 | /* Do endian check at execution time instead of compile time, since ARM |
727 | processors can change the endianess at execution time. If the | 727 | processors can change the endianness at execution time. If the |
728 | compiler knows what the endianess will be, it can optimize out the | 728 | compiler knows what the endianness will be, it can optimize out the |
729 | check and the unused branch. */ | 729 | check and the unused branch. */ |
730 | endian = 1; | 730 | endian = 1; |
731 | if (*(unsigned char *)&endian) { | 731 | if (*(unsigned char *)&endian) { |