mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-05 07:20:58 +00:00
Merge pull request #42 from linkcheck/fix-type-mismatch
Fix incompatible pointer type warnings
This commit is contained in:
commit
bc06234cb3
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue