summaryrefslogtreecommitdiff
path: root/src/vector.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 14:27:28 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:47:27 +0200
commit67628dcc63733a841156bbd8f79ab1fcfaa62037 (patch)
treed15ff3f3605d1b623e5daacc1e089fb7be85ddb0 /src/vector.c
parent590f99ef2dbdbc541856c34067d6f7a54ccd1d53 (diff)
downloadtinyproxy-67628dcc63733a841156bbd8f79ab1fcfaa62037.tar.gz
tinyproxy-67628dcc63733a841156bbd8f79ab1fcfaa62037.zip
change vector_append() to take size_t len instead of ssize_t len argument
Michael
Diffstat (limited to '')
-rw-r--r--src/vector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c
index d664ddb..b372647 100644
--- a/src/vector.c
+++ b/src/vector.c
@@ -163,7 +163,7 @@ vector_insert (vector_t vector, void *data, size_t len, int pos)
* arguments.
*/
int
-vector_append (vector_t vector, void *data, ssize_t len)
+vector_append (vector_t vector, void *data, size_t len)
{
return vector_insert (vector, data, len, INSERT_APPEND);
}