summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lex-auto.c2
-rw-r--r--test/lex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lex-auto.c b/test/lex-auto.c
index b75fbb0..e148649 100644
--- a/test/lex-auto.c
+++ b/test/lex-auto.c
@@ -267,7 +267,7 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
parserutils_inputstream *input;
css_lexer *lexer;
css_error error;
- const css_token *tok;
+ css_token *tok;
size_t e;
static int testnum;
diff --git a/test/lex.c b/test/lex.c
index d808611..22da973 100644
--- a/test/lex.c
+++ b/test/lex.c
@@ -108,7 +108,7 @@ int main(int argc, char **argv)
size_t len, origlen;
#define CHUNK_SIZE (4096)
uint8_t buf[CHUNK_SIZE];
- const css_token *tok;
+ css_token *tok;
css_error error;
if (argc != 3) {