diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-09-15 07:17:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 07:17:18 +0200 |
commit | 97dbae1800413a66bf2dd92b8ccb2eab69bfa492 (patch) | |
tree | 033a96fd46090480181188659c8f7da02b04c92a /src | |
parent | 229f4f45df72ac1fc8a2f7749043223d745c8e27 (diff) | |
download | flac-97dbae1800413a66bf2dd92b8ccb2eab69bfa492.tar.gz |
Fix endianness display in endswap test (cosmetic issue)
As CPU_IS_LITTLE_ENDIAN is used nowehere except in test_libflac,
switch to CPU_IS_BIG_ENDIAN instead, which is actually used in the
code at several places. CMake didn't set the former but does set
the latter.
Diffstat (limited to 'src')
-rw-r--r-- | src/test_libFLAC/endswap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_libFLAC/endswap.c b/src/test_libFLAC/endswap.c index 9b65afaa..d569197d 100644 --- a/src/test_libFLAC/endswap.c +++ b/src/test_libFLAC/endswap.c @@ -43,7 +43,7 @@ FLAC__bool test_endswap(void) uint32_t u32; } data; - printf("\n+++ libFLAC unit test: endswap (%s endian host)\n\n", CPU_IS_LITTLE_ENDIAN ? "little" : "big"); + printf("\n+++ libFLAC unit test: endswap (%s endian host)\n\n", CPU_IS_BIG_ENDIAN ? "big" : "little"); printf("testing ENDSWAP_16 on int16_t ... "); if (((int16_t) ENDSWAP_16(i16)) == i16) { |