Skip to content

Commit fee0948

Browse files
committed
Fix ext/xml
1 parent 6a97342 commit fee0948

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/xml/compat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ XML_GetCurrentColumnNumber(XML_Parser parser)
686686
return parser->parser->input->col;
687687
}
688688

689-
PHP_XML_API long
689+
PHP_XML_API zend_long
690690
XML_GetCurrentByteIndex(XML_Parser parser)
691691
{
692692
return parser->parser->input->consumed +

ext/xml/expat_compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ PHP_XML_API int XML_GetErrorCode(XML_Parser);
146146
PHP_XML_API const XML_Char *XML_ErrorString(int);
147147
PHP_XML_API int XML_GetCurrentLineNumber(XML_Parser);
148148
PHP_XML_API int XML_GetCurrentColumnNumber(XML_Parser);
149-
PHP_XML_API long XML_GetCurrentByteIndex(XML_Parser);
149+
PHP_XML_API zend_long XML_GetCurrentByteIndex(XML_Parser);
150150
PHP_XML_API int XML_GetCurrentByteCount(XML_Parser);
151151
PHP_XML_API const XML_Char *XML_ExpatVersion(void);
152152
PHP_XML_API void XML_ParserFree(XML_Parser);

0 commit comments

Comments
 (0)