ossp-pkg/xds/set-capacity.c 1.2 -> 1.3
--- set-capacity.c 2001/07/09 17:22:34 1.2
+++ set-capacity.c 2001/07/16 18:26:58 1.3
@@ -48,7 +48,7 @@
/* Find the correct capacity. */
- for(size = (*array_capacity != 0) ? *array_capacity * 2 : initial_capacity; size <= new_capacity; size *= 2)
+ for(size = (*array_capacity != 0) ? *array_capacity * 2 : initial_capacity; size < new_capacity; size *= 2)
;
/* Allocate the array and store the new values. */
|
|