From a2f0433b27cd7882e0563ec97b3fe38ec8c24e20 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 4 Aug 2023 09:09:52 +0000 Subject: [PATCH] Sync with userland libz --- sys/lib/libz/crc32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/lib/libz/crc32.c b/sys/lib/libz/crc32.c index 1df8e0ea205..c5828f6606e 100644 --- a/sys/lib/libz/crc32.c +++ b/sys/lib/libz/crc32.c @@ -722,8 +722,8 @@ unsigned long ZEXPORT crc32_z(unsigned long crc, const unsigned char FAR *buf, words = (z_word_t const *)buf; /* Do endian check at execution time instead of compile time, since ARM - processors can change the endianess at execution time. If the - compiler knows what the endianess will be, it can optimize out the + processors can change the endianness at execution time. If the + compiler knows what the endianness will be, it can optimize out the check and the unused branch. */ endian = 1; if (*(unsigned char *)&endian) { -- 2.20.1