From 82648ff2295a70e08883082e3e67bb306bcb239a Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 23 Feb 2014 16:51:00 +0100 Subject: ta: fix comment If this function could return the input value (i.e. the == case was correct), then macros like MP_GROW_ARRAY would have been incorrect. The implementation was correct though, so there's no bug. --- ta/ta_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ta') diff --git a/ta/ta_utils.c b/ta/ta_utils.c index a6b59f2e3d..7c66a14490 100644 --- a/ta/ta_utils.c +++ b/ta/ta_utils.c @@ -32,7 +32,7 @@ size_t ta_calc_array_size(size_t element_size, size_t count) // This is used when an array has to be enlarged for appending new elements. // Return a "good" size for the new array (in number of elements). This returns -// a value >= nextidx, unless the calculation overflows, in which case SIZE_MAX +// a value > nextidx, unless the calculation overflows, in which case SIZE_MAX // is returned. size_t ta_calc_prealloc_elems(size_t nextidx) { -- cgit v1.2.3