1
0

FIxed int in test

This commit is contained in:
Tycho 2014-03-09 04:43:22 -07:00
parent 6b530bde75
commit 14c2f620d1

View File

@ -86,7 +86,7 @@ public:
cByteBuffer buf(3); cByteBuffer buf(3);
for (int i = 0; i < 1000; i++) for (int i = 0; i < 1000; i++)
{ {
int FreeSpace = buf.GetFreeSpace(); size_t FreeSpace = buf.GetFreeSpace();
assert(buf.GetReadableSpace() == 0); assert(buf.GetReadableSpace() == 0);
assert(FreeSpace > 0); assert(FreeSpace > 0);
assert(buf.Write("a", 1)); assert(buf.Write("a", 1));