summaryrefslogtreecommitdiff
path: root/libmailutils/string/wordsplit.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmailutils/string/wordsplit.c')
-rw-r--r--libmailutils/string/wordsplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmailutils/string/wordsplit.c b/libmailutils/string/wordsplit.c
index 12af7257e..0acf2a345 100644
--- a/libmailutils/string/wordsplit.c
+++ b/libmailutils/string/wordsplit.c
@@ -184,7 +184,7 @@ alloc_space (struct mu_wordsplit *wsp, size_t count)
else if (wsp->ws_wordn < offs + wsp->ws_wordc + count)
{
newalloc = offs + wsp->ws_wordc +
- count > ALLOC_INCR ? count : ALLOC_INCR;
+ (count > ALLOC_INCR ? count : ALLOC_INCR);
ptr = realloc (wsp->ws_wordv, newalloc * sizeof (ptr[0]));
}
else

Return to:

Send suggestions and report system problems to the System administrator.