]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix an MSVC warning in onion.h prototypes
authorNick Mathewson <nickm@torproject.org>
Thu, 17 Jan 2013 19:38:15 +0000 (14:38 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 17 Jan 2013 19:42:37 +0000 (14:42 -0500)
src/or/onion.h

index 8b5fb7e3bba35b46261a6acecc61abae92e17c25..db4c999c9e72ca6ba76e184e9cc2dfec32e5f646 100644 (file)
@@ -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);