From eb058eab69804cfe2e9b7dfddb2a6f2022ca3ce8 Mon Sep 17 00:00:00 2001 From: Jean-Sebastien Trottier Date: Tue, 31 Dec 2024 19:11:04 -0500 Subject: [PATCH] fixup! Baseline formatting fixes --- src/lib_ccx/ccx_encoders_spupng.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib_ccx/ccx_encoders_spupng.c b/src/lib_ccx/ccx_encoders_spupng.c index c3c19cff0..6037b53b8 100644 --- a/src/lib_ccx/ccx_encoders_spupng.c +++ b/src/lib_ccx/ccx_encoders_spupng.c @@ -705,10 +705,10 @@ uint32_t *utf8_to_utf32(char *src) // Convert big-endian and little-endian #define BigtoLittle32(A) ( \ - (((uint32_t)(A) & 0xff000000) >> 24) | \ - (((uint32_t)(A) & 0x00ff0000) >> 8) | \ - (((uint32_t)(A) & 0x0000ff00) << 8) | \ - (((uint32_t)(A) & 0x000000ff) << 24)) + (((uint32_t)(A) & 0xff000000) >> 24) | \ + (((uint32_t)(A) & 0x00ff0000) >> 8) | \ + (((uint32_t)(A) & 0x0000ff00) << 8) | \ + (((uint32_t)(A) & 0x000000ff) << 24)) // Generate PNG file from an UTF-8 string (str) // PNG file will be stored at output