From 0f92e69c8fe508f387551a3d58a1f4c748e6611a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 20 Oct 2010 21:19:01 +0000 Subject: Corrected a bug that caused numbers between -1 and -63 inclusive to be positive. --- src/integer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/integer.h') diff --git a/src/integer.h b/src/integer.h index 014b53a..b54bf5d 100644 --- a/src/integer.h +++ b/src/integer.h @@ -52,6 +52,8 @@ namespace Gats b = (iIn&0x3F); if( iIn > b ) b |= 0x80 | 0x40; + else + b |= 0x40; } else { -- cgit v1.2.3