summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/vector.c2
-rw-r--r--src/vector.h2
2 files changed, 2 insertions, 2 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);
}
diff --git a/src/vector.h b/src/vector.h
index dde4add..1dbf638 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -49,7 +49,7 @@ extern "C"
* Returns: negative on error
* 0 upon successful insert.
*/
- extern int vector_append (vector_t vector, void *data, ssize_t len);
+ extern int vector_append (vector_t vector, void *data, size_t len);
extern int vector_prepend (vector_t vector, void *data, ssize_t len);
/*