mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-22 15:53:14 +01:00
Fix 32bit "+2" typo for Outbuffer::reserve
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user