Skip to content

Commit 81f76df

Browse files
committed
error: Fix initGenericErrorDefaultFunc compatibility macro
1 parent 366e855 commit 81f76df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/libxml/xmlerror.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extern "C" {
1919
/*
2020
* Backward compatibility
2121
*/
22-
#define initGenericErrorDefaultFunc(h) xmlSetGenericErrorFunc(NULL, h)
22+
#define initGenericErrorDefaultFunc(h) xmlSetGenericErrorFunc(NULL, *(h))
2323

2424
/**
2525
* xmlErrorLevel:

0 commit comments

Comments
 (0)