From: Nick Mathewson Date: Thu, 17 Jan 2013 19:38:15 +0000 (-0500) Subject: Fix an MSVC warning in onion.h prototypes X-Git-Tag: tor-0.2.4.10-alpha~25^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1af89ce540d4cac253169423325bad73fa57f7fd;p=thirdparty%2Ftor.git Fix an MSVC warning in onion.h prototypes --- diff --git a/src/or/onion.h b/src/or/onion.h index 8b5fb7e3bb..db4c999c9e 100644 --- a/src/or/onion.h +++ b/src/or/onion.h @@ -101,9 +101,9 @@ typedef struct extended_cell_t { int create_cell_parse(create_cell_t *cell_out, const cell_t *cell_in); int created_cell_parse(created_cell_t *cell_out, const cell_t *cell_in); -int extend_cell_parse(extend_cell_t *cell_out, uint8_t command, +int extend_cell_parse(extend_cell_t *cell_out, const uint8_t command, const uint8_t *payload_in, size_t payload_len); -int extended_cell_parse(extended_cell_t *cell_out, uint8_t command, +int extended_cell_parse(extended_cell_t *cell_out, const uint8_t command, const uint8_t *payload_in, size_t payload_len); int create_cell_format(cell_t *cell_out, const create_cell_t *cell_in);