From 4d199c8f9a86f4188b6862786199c62648e1525a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 16 Apr 2009 00:35:48 +0000 Subject: A load of c89 compatibility fixes. GCC 2.95 doesn't understand -Wno-unused-parameter svn path=/trunk/hubbub/; revision=7103 --- test/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parser.c') diff --git a/test/parser.c b/test/parser.c index ca9a15c..1f7010a 100644 --- a/test/parser.c +++ b/test/parser.c @@ -25,7 +25,7 @@ static int run_test(int argc, char **argv, unsigned int CHUNK_SIZE) hubbub_parser_optparams params; FILE *fp; size_t len, origlen; - uint8_t buf[CHUNK_SIZE]; + uint8_t *buf = alloca(CHUNK_SIZE); const char *charset; hubbub_charset_source cssource; -- cgit v1.2.3