diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-28 20:13:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-28 20:13:21 +0000 |
commit | 7055f837abeca974d3b73ed26b6d26898daa9e89 (patch) | |
tree | c087acf0452d4da39409c5e68f67c06e7da17d1d /src/or/or.h | |
parent | ca8d50abeb260898a6657a06423667479a621a22 (diff) | |
download | tor-7055f837abeca974d3b73ed26b6d26898daa9e89.tar.gz tor-7055f837abeca974d3b73ed26b6d26898daa9e89.zip |
Make Tor build on win32 with VC6 without warnings.
svn:r1739
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h index 10b8b63437..83d1bb7267 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -657,14 +657,14 @@ size_t buf_datalen(const buf_t *buf); size_t buf_capacity(const buf_t *buf); const char *_buf_peek_raw_buffer(const buf_t *buf); -int read_to_buf(int s, int at_most, buf_t *buf, int *reached_eof); -int read_to_buf_tls(tor_tls *tls, int at_most, buf_t *buf); +int read_to_buf(int s, size_t at_most, buf_t *buf, int *reached_eof); +int read_to_buf_tls(tor_tls *tls, size_t at_most, buf_t *buf); int flush_buf(int s, buf_t *buf, int *buf_flushlen); int flush_buf_tls(tor_tls *tls, buf_t *buf, int *buf_flushlen); int write_to_buf(const char *string, int string_len, buf_t *buf); -int fetch_from_buf(char *string, int string_len, buf_t *buf); +int fetch_from_buf(char *string, size_t string_len, buf_t *buf); int fetch_from_buf_http(buf_t *buf, char **headers_out, int max_headerlen, char **body_out, int *body_used, int max_bodylen); @@ -1026,7 +1026,7 @@ void dirserv_free_fingerprint_list(); int dirserv_add_descriptor(const char **desc); int dirserv_init_from_directory_string(const char *dir); void dirserv_free_descriptors(); -int dirserv_dump_directory_to_string(char *s, int maxlen, +int dirserv_dump_directory_to_string(char *s, unsigned int maxlen, crypto_pk_env_t *private_key); void directory_set_dirty(void); size_t dirserv_get_directory(const char **cp); |