Fix 32bit "+2" typo for Outbuffer::reserve

This commit is contained in:
Kelly Wilson
2009-03-13 07:17:29 -06:00
parent ff33ed6d74
commit 2a396614ad

View File

@@ -1394,7 +1394,7 @@ void OutBuffer::reserve(unsigned nbytes)
#if defined (__x86_64__)
size = (offset + nbytes) * 2 + 2;
#else
size = (offset + nbytes) * 2 + 2;
size = (offset + nbytes) * 2;
#endif
data = (unsigned char *)mem.realloc(data, size);
}