summaryrefslogtreecommitdiff
path: root/lib/poptQV.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-02 13:55:16 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-02 13:55:16 +0200
commit519eaaf236866602e1f05cf138ebb263b465f2b7 (patch)
tree4a0b77ccbed218758ca74c3b038a34c10d768e11 /lib/poptQV.c
parentd772111b9131a9fc7ad4da1008ba6fb202344a2f (diff)
downloadlibrpm-tizen-519eaaf236866602e1f05cf138ebb263b465f2b7.tar.gz
librpm-tizen-519eaaf236866602e1f05cf138ebb263b465f2b7.tar.bz2
librpm-tizen-519eaaf236866602e1f05cf138ebb263b465f2b7.zip
Assorted int -> size_t corrections for string lengths
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 {