com php-src: Kill compiler warnings in ext/xml: ext/xml/xml.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 23 Aug 2017 23:09:16 +0000 |
| Subject: | com php-src: Kill compiler warnings in ext/xml: ext/xml/xml.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99136@lists.php.net to get a copy of this message | ||
Commit: 2a965bbd002617e86a48bdf84af89044b2c4a181
Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 24 Aug 2017 01:09:16 +0200
Parents: 8e47faabe6adb19148698d994a9f6613ee0cde5f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2a965bbd002617e86a48bdf84af89044b2c4a181
Log:
Kill compiler warnings in ext/xml
Changed paths:
M ext/xml/xml.c
Diff:
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index 48614ad..4761844 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 */