[Zope-Checkins] CVS: Zope2 - BucketTemplate.c:1.11
Brian Lloyd
brian@digicool.com
Fri, 30 Mar 2001 10:50:19 -0500 (EST)
Update of /cvs-repository/Zope2/lib/python/BTrees
In directory korak:/home/brian/temp/mainline_test/lib/python/BTrees
Modified Files:
BucketTemplate.c
Log Message:
Merged realloc fix
--- Updated File BucketTemplate.c in package Zope2 --
--- BucketTemplate.c 2001/03/21 14:16:58 1.10
+++ BucketTemplate.c 2001/03/30 15:50:18 1.11
@@ -980,7 +980,7 @@
{
UNLESS (keys=PyRealloc(self->keys, sizeof(KEY_TYPE)*len))
return -1;
- UNLESS (values=PyRealloc(self->values, sizeof(KEY_TYPE)*len))
+ UNLESS (values=PyRealloc(self->values, sizeof(VALUE_TYPE)*len))
return -1;
self->keys=keys;
self->values=values;