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/tests/int.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/int.cpp b/src/tests/int.cpp index 1601578..348e179 100644 --- a/src/tests/int.cpp +++ b/src/tests/int.cpp @@ -8,7 +8,7 @@ using namespace Bu; int main() { MemBuf mb; - int64_t i = -(100); + int64_t i = -6; sio << "Before: " << i << sio.nl; Gats::Integer::writePackedInt( mb, i ); -- cgit v1.2.3