From: Eric Sandeen Date: Fri, 13 Jul 2001 21:32:49 +0000 (+0000) Subject: Fix endianness on write, comments said bytes, code said bits. We want bytes. :) X-Git-Tag: v2.0.0~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4103ff24bf8dfa977c810c6a3d02b3d109af2ab;p=thirdparty%2Fxfsprogs-dev.git Fix endianness on write, comments said bytes, code said bits. We want bytes. :) --- diff --git a/db/bit.c b/db/bit.c index de3337877..26ee42313 100644 --- a/db/bit.c +++ b/db/bit.c @@ -165,7 +165,7 @@ setbitval( #endif /* only need to swap LE integers */ - if (big || (nbits!=2 && nbits!=4 && nbits!=8) ) { + if (big || (nbits!=8 && nbits!=32 && nbits!=64) ) { /* We don't have type info, so we can only assume * that 2,4 & 8 byte values are integers. sigh. */