diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-09-20 18:10:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-09-20 18:10:34 +0000 |
commit | 553be9f71998e872838769b1a9be6972ab8ccb8e (patch) | |
tree | ae3bab030ec894e3ab33a34d66d0cd1783667e3b /lib/util/intcode.h | |
parent | c57fb692012684f1a5b1e84c2e31dc289ef70219 (diff) | |
download | netpbm-mirror-553be9f71998e872838769b1a9be6972ab8ccb8e.tar.gz netpbm-mirror-553be9f71998e872838769b1a9be6972ab8ccb8e.tar.xz netpbm-mirror-553be9f71998e872838769b1a9be6972ab8ccb8e.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4672 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util/intcode.h')
-rw-r--r-- | lib/util/intcode.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/util/intcode.h b/lib/util/intcode.h index 1066ee9b..6f40a740 100644 --- a/lib/util/intcode.h +++ b/lib/util/intcode.h @@ -108,7 +108,7 @@ pm_uintFromBigend32(bigend32 const arg) { #if HAVE_GCC_BSWAP case LITTLE_ENDIAN: { - /* Use GCC built-in */ + /* Use GCC built-in */ union { bigend32 bigend; uint32_t native; @@ -117,7 +117,7 @@ pm_uintFromBigend32(bigend32 const arg) { retval = __builtin_bswap32(converter.native); } break; #endif - + default: retval = (arg.bytes[0] << 24) | @@ -146,9 +146,9 @@ pm_bigendFromUint32(uint32_t const arg) { retval = converter.bigend; } break; -#if HAVE_GCC_BSWAP +#if HAVE_GCC_BSWAP case LITTLE_ENDIAN: { - /* Use GCC built-in */ + /* Use GCC built-in */ union { bigend32 bigend; uint32_t native; @@ -156,7 +156,7 @@ pm_bigendFromUint32(uint32_t const arg) { converter.native = __builtin_bswap32(arg); retval = converter.bigend; } break; -#endif +#endif default: { uint32_t shift; @@ -208,9 +208,9 @@ pm_uintFromBigend64(bigend64 const arg) { retval = converter.native; } break; -#if HAVE_GCC_BSWAP +#if HAVE_GCC_BSWAP case LITTLE_ENDIAN: { - /* Use GCC built-in */ + /* Use GCC built-in */ union { bigend64 bigend; uint64_t native; @@ -249,7 +249,7 @@ pm_bigendFromUint64(uint64_t const arg) { #if HAVE_GCC_BSWAP case LITTLE_ENDIAN: { - /* Use GCC built-in */ + /* Use GCC built-in */ union { bigend64 bigend; uint64_t native; @@ -258,7 +258,7 @@ pm_bigendFromUint64(uint64_t const arg) { retval = converter.bigend; } break; #endif - + default: { uint64_t shift; shift = arg; |