File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -716,6 +716,7 @@ XML_GetCurrentByteIndex(XML_Parser parser)
716716 * Although that should probably be corrected at one point? (TODO) */
717717 xmlCharEncodingHandlerPtr encoder = NULL ;
718718 xmlParserInputPtr input = parser -> parser -> input ;
719+ ZEND_DIAGNOSTIC_IGNORED_START ("-Wdeprecated-declarations" )
719720 if (input -> buf ) {
720721 encoder = input -> buf -> encoder ;
721722 input -> buf -> encoder = NULL ;
@@ -724,6 +725,7 @@ XML_GetCurrentByteIndex(XML_Parser parser)
724725 if (encoder ) {
725726 input -> buf -> encoder = encoder ;
726727 }
728+ ZEND_DIAGNOSTIC_IGNORED_END
727729 /* TODO: at one point this should return long probably to make sure that files greater than 2 GiB are handled correctly. */
728730 return (int ) result ;
729731}
You can’t perform that action at this time.
0 commit comments