diff options
author | Michael Adam <obnox@samba.org> | 2009-08-09 23:02:54 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-09 23:02:54 +0200 |
commit | bfa2c8ed774ce7e9d9bb015bc7b13865968fca69 (patch) | |
tree | 4a19f5ca7238d427536a3b0610d1ff95902404bb /src | |
parent | eb0deeb9666d61f26cb3732440467b3b8d5222fb (diff) | |
download | tinyproxy-bfa2c8ed774ce7e9d9bb015bc7b13865968fca69.tar.gz tinyproxy-bfa2c8ed774ce7e9d9bb015bc7b13865968fca69.zip |
Fix implicit cast warning in check_allowed_connect_ports().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -128,7 +128,7 @@ check_allowed_connect_ports (int port) for (i = 0; i != (size_t)vector_length (ports_allowed_by_connect); ++i) { - data = vector_getentry (ports_allowed_by_connect, i, NULL); + data = (int *)vector_getentry (ports_allowed_by_connect, i, NULL); if (data && *data == port) return 1; } |