aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-10-20 21:19:01 +0000
committerMike Buland <eichlan@xagasoft.com>2010-10-20 21:19:01 +0000
commit0f92e69c8fe508f387551a3d58a1f4c748e6611a (patch)
treea337aa1e65b8d4925b44793ac6c313ec99b97ab2 /src/tests
parentea9c6b32e952e1d87872b992989854e4899cb8f8 (diff)
downloadlibgats-0f92e69c8fe508f387551a3d58a1f4c748e6611a.tar.gz
libgats-0f92e69c8fe508f387551a3d58a1f4c748e6611a.tar.bz2
libgats-0f92e69c8fe508f387551a3d58a1f4c748e6611a.tar.xz
libgats-0f92e69c8fe508f387551a3d58a1f4c748e6611a.zip
Corrected a bug that caused numbers between -1 and -63 inclusive to be positive.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/int.cpp2
1 files changed, 1 insertions, 1 deletions
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;
8int main() 8int main()
9{ 9{
10 MemBuf mb; 10 MemBuf mb;
11 int64_t i = -(100); 11 int64_t i = -6;
12 12
13 sio << "Before: " << i << sio.nl; 13 sio << "Before: " << i << sio.nl;
14 Gats::Integer::writePackedInt( mb, i ); 14 Gats::Integer::writePackedInt( mb, i );