summaryrefslogtreecommitdiff
path: root/lib/poptQV.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/poptQV.c')
-rw-r--r--lib/poptQV.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poptQV.c b/lib/poptQV.c
index 7d9862f28..ca4e60966 100644
--- a/lib/poptQV.c
+++ b/lib/poptQV.c
@@ -169,7 +169,7 @@ static void queryArgCallback(poptContext con,
if (arg) {
char * qf = (char *)qva->qva_queryFormat;
if (qf) {
- int len = strlen(qf) + strlen(arg) + 1;
+ size_t len = strlen(qf) + strlen(arg) + 1;
qf = xrealloc(qf, len);
strcat(qf, arg);
} else {