changeset 1111:0f8aeb31678c

Fix 32bit "+2" typo for Outbuffer::reserve
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Fri, 13 Mar 2009 07:17:29 -0600
parents fd631764eaac
children 829ac3f30103
files dmd/root.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dmd/root.c	Thu Mar 12 17:10:24 2009 -0600
+++ b/dmd/root.c	Fri Mar 13 07:17:29 2009 -0600
@@ -1394,7 +1394,7 @@
 #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);
     }