From 44b480394805d19b9958c1c7bb72610eb2c08973 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 4 Apr 2009 00:41:53 +0000 Subject: Constify svn path=/trunk/hubbub/; revision=7044 --- src/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/parser.c b/src/parser.c index 79b10ab..5f15d19 100644 --- a/src/parser.c +++ b/src/parser.c @@ -208,7 +208,7 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser, * \return HUBBUB_OK on success, appropriate error otherwise */ hubbub_error hubbub_parser_parse_chunk(hubbub_parser *parser, - uint8_t *data, size_t len) + const uint8_t *data, size_t len) { parserutils_error perror; hubbub_error error; @@ -254,7 +254,7 @@ hubbub_error hubbub_parser_parse_chunk(hubbub_parser *parser, * \return HUBBUB_OK on success, appropriate error otherwise */ hubbub_error hubbub_parser_parse_extraneous_chunk(hubbub_parser *parser, - uint8_t *data, size_t len) + const uint8_t *data, size_t len) { hubbub_error error; -- cgit v1.2.3