diff options
author | Michael Adam <obnox@samba.org> | 2009-09-10 22:12:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-10 22:12:16 +0200 |
commit | 735c9cb70f7f43251984fb5d5999e4c7bdb6d873 (patch) | |
tree | fc5ca50939b1de3bdbeadb987d057618e6a51d67 | |
parent | 408c781d14377faf1e98e0eebdd8724844debeac (diff) | |
download | tinyproxy-735c9cb70f7f43251984fb5d5999e4c7bdb6d873.tar.gz tinyproxy-735c9cb70f7f43251984fb5d5999e4c7bdb6d873.zip |
reqs.c: fix two implicit cast warnings.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/reqs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1592,7 +1592,7 @@ connect_to_upstream (struct conn_s *connptr, struct request_s *request) { len = strlen (request->host) + 7; - combined_string = safemalloc (len); + combined_string = (char *)safemalloc (len); if (!combined_string) { return -1; @@ -1603,7 +1603,7 @@ connect_to_upstream (struct conn_s *connptr, struct request_s *request) else { len = strlen (request->host) + strlen (request->path) + 14; - combined_string = safemalloc (len); + combined_string = (char *)safemalloc (len); if (!combined_string) { return -1; |