Skip to content

Commit

Permalink
Type error as pointer to const xmlError
Browse files Browse the repository at this point in the history
  • Loading branch information
wamuir committed Dec 16, 2023
1 parent a7a81ee commit 0f6cc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xslt.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ int apply_style(xsltStylesheetPtr style, const char *xml, const char **params,
return -1;
}

xmlErrorPtr error = xmlGetLastError();
const xmlError *error = xmlGetLastError();
if (error) {
xmlResetLastError();
if (error->level > XML_ERR_WARNING) {
Expand Down

0 comments on commit 0f6cc55

Please sign in to comment.