summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-02-18 14:40:30 +0000
committerColin Watson <cjwatson@debian.org>2014-02-18 14:40:39 +0000
commit3acc4478060af421bfb66cd29201dcddd27e6e43 (patch)
tree8675977f53b64a80c914377264d7361028eb6255
parentfaa724e0c2c76c411a2ed24bc373ebc07e7f743c (diff)
* lib/appendstr.c (appendstr): Use size_t type for string lengths.
-rw-r--r--lib/appendstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/appendstr.c b/lib/appendstr.c
index 1bbaebcc..ef07ce88 100644
--- a/lib/appendstr.c
+++ b/lib/appendstr.c
@@ -30,7 +30,7 @@
char *appendstr (char *str, ...)
{
va_list ap;
- int len, newlen;
+ size_t len, newlen;
char *next, *end;
len = str ? strlen (str) : 0;