Merge pull request #42 from linkcheck/fix-type-mismatch

Fix incompatible pointer type warnings
This commit is contained in:
Marius Gedminas 2017-02-24 23:54:10 +02:00 committed by GitHub
commit bc06234cb3
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ extern int yyget_lineno(void*);
#define YYERROR_VERBOSE 1
/* standard error reporting, indicating an internal error */
static void yyerror (YYSTYPE *locp, char const *msg) {
static void yyerror (void *locp, char const *msg) {
fprintf(stderr, "htmlsax: internal parse error: %s\n", msg);
}

View file

@ -37,7 +37,7 @@ extern int yyget_lineno(void*);
#define YYERROR_VERBOSE 1
/* standard error reporting, indicating an internal error */
static void yyerror (YYSTYPE *locp, char const *msg) {
static void yyerror (void *locp, char const *msg) {
fprintf(stderr, "htmlsax: internal parse error: %s\n", msg);
}