From e4103ff24bf8dfa977c810c6a3d02b3d109af2ab Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 13 Jul 2001 21:32:49 +0000 Subject: [PATCH] Fix endianness on write, comments said bytes, code said bits. We want bytes. :) --- db/bit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.47.2