summaryrefslogtreecommitdiffhomepage
path: root/src/http-message.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 09:24:32 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 09:24:32 +0200
commit1052502b63841dc366591ba2acb845ab85ce7304 (patch)
tree70767b531218a00cee175f1b691087a12e095682 /src/http-message.h
parentf99edadc92900ef2262e38820e66a2061331a3aa (diff)
http_message_add_headers: make argument num_headers unsigned
and remove signed vs. unsigned comparison warnings. Michael
Diffstat (limited to 'src/http-message.h')
-rw-r--r--src/http-message.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http-message.h b/src/http-message.h
index 094945b..fdf2982 100644
--- a/src/http-message.h
+++ b/src/http-message.h
@@ -88,6 +88,7 @@ extern int http_message_set_response (http_message_t msg,
* sent.
*/
extern int http_message_add_headers (http_message_t msg,
- const char **headers, int num_headers);
+ const char **headers,
+ unsigned int num_headers);
#endif /* _TINYPROXY_HTTP_MESSAGE_H_ */