summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2017-08-24 01:09:16 +0200
committerKalle Sommer Nielsen <kalle@php.net>2017-08-24 01:09:16 +0200
commit2a965bbd002617e86a48bdf84af89044b2c4a181 (patch)
tree5295e128bc9178b325c425fd508902e52bbd1200 /ext/xml
parent8e47faabe6adb19148698d994a9f6613ee0cde5f (diff)
downloadphp-git-2a965bbd002617e86a48bdf84af89044b2c4a181.tar.gz
Kill compiler warnings in ext/xml
Diffstat (limited to 'ext/xml')
-rw-r--r--ext/xml/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 48614ad421..4761844f44 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -70,7 +70,7 @@ ZEND_GET_MODULE(xml)
/* }}} */
-#define SKIP_TAGSTART(str) ((str) + (parser->toffset > strlen(str) ? strlen(str) : parser->toffset))
+#define SKIP_TAGSTART(str) ((str) + (parser->toffset > (int)strlen(str) ? strlen(str) : parser->toffset))
/* {{{ function prototypes */