diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:28:08 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:27 +0200 |
commit | a34276feee15941ad2cb753bde95ac4f96260d10 (patch) | |
tree | 730e91985072574634706296accc4719c2eb130b /src | |
parent | 67628dcc63733a841156bbd8f79ab1fcfaa62037 (diff) | |
download | tinyproxy-a34276feee15941ad2cb753bde95ac4f96260d10.tar.gz tinyproxy-a34276feee15941ad2cb753bde95ac4f96260d10.zip |
change vector_prepend() to take size_t len instead of ssize_t len argument.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/vector.c | 2 | ||||
-rw-r--r-- | src/vector.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vector.c b/src/vector.c index b372647..5d33cbd 100644 --- a/src/vector.c +++ b/src/vector.c @@ -169,7 +169,7 @@ vector_append (vector_t vector, void *data, size_t len) } int -vector_prepend (vector_t vector, void *data, ssize_t len) +vector_prepend (vector_t vector, void *data, size_t len) { return vector_insert (vector, data, len, INSERT_PREPEND); } diff --git a/src/vector.h b/src/vector.h index 1dbf638..0a096f0 100644 --- a/src/vector.h +++ b/src/vector.h @@ -50,7 +50,7 @@ extern "C" * 0 upon successful insert. */ extern int vector_append (vector_t vector, void *data, size_t len); - extern int vector_prepend (vector_t vector, void *data, ssize_t len); + extern int vector_prepend (vector_t vector, void *data, size_t len); /* * A pointer to the data at position "pos" (zero based) is returned and the |