diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 23:52:56 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:52:56 +0200 |
commit | f0a46fd71cf5cd9d1943ca6613230771d687769f (patch) | |
tree | 405509e4bd7053d97cb24a74dd3a4aedaadba3b9 /src | |
parent | 5b81dec8796a635bae6223ec0f0b4a90748bdcfd (diff) | |
download | tinyproxy-f0a46fd71cf5cd9d1943ca6613230771d687769f.tar.gz tinyproxy-f0a46fd71cf5cd9d1943ca6613230771d687769f.zip |
vector: remove implicit cast warning in vector_insert() by adding explicit cast
Michael
Diffstat (limited to '')
-rw-r--r-- | src/vector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector.c b/src/vector.c index a930261..944c38b 100644 --- a/src/vector.c +++ b/src/vector.c @@ -121,7 +121,7 @@ vector_insert (vector_t vector, void *data, size_t len, int pos) (pos != INSERT_PREPEND && pos != INSERT_APPEND)) return -EINVAL; - entry = safemalloc (sizeof (struct vectorentry_s)); + entry = (struct vectorentry_s *)safemalloc (sizeof (struct vectorentry_s)); if (!entry) return -ENOMEM; |