Skip to content

Commit

Permalink
fix -Wincompatible-pointer-types
Browse files Browse the repository at this point in the history
  • Loading branch information
atupone committed Feb 24, 2024
1 parent 39ad3e6 commit c1bc95a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docObj.c
Original file line number Diff line number Diff line change
Expand Up @@ -1852,9 +1852,7 @@ ErrorCodeToString(code)
}

void
TclXML_libxml2_ErrorHandler (ctx, error)
void *ctx; /* ignore - depends on context */
xmlErrorPtr error;
TclXML_libxml2_ErrorHandler (void *ctx, const xmlError *error)
{
ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
Tcl_Obj *objPtr;
Expand Down
2 changes: 1 addition & 1 deletion include/tclxml-libxml2/tclxml-libxml2Decls.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ EXTERN void TclXML_libxml2_DocKeep _ANSI_ARGS_((Tcl_Obj * objPtr,
TclXML_libxml2_DocumentHandling keep));
/* 10 */
EXTERN void TclXML_libxml2_ErrorHandler _ANSI_ARGS_((void * ctx,
xmlErrorPtr error));
const xmlError *error));
/* 11 */
EXTERN void TclXML_libxml2_ResetError _ANSI_ARGS_((
Tcl_Interp * interp));
Expand Down

0 comments on commit c1bc95a

Please sign in to comment.