Skip to content

Commit ee05c1f

Browse files
author
Ali Nikkhah
committed
In php 7, zend_parse_parameters specs changed. 's' expects size_t now instead of int.
1 parent 8d8bb05 commit ee05c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_jsmin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ZEND_GET_MODULE(jsmin)
100100
PHP_FUNCTION(jsmin)
101101
{
102102
char *javascript;
103-
int javascript_len;
103+
size_t javascript_len;
104104
jsmin_obj *jmo;
105105

106106
zval *ret_code = NULL;

0 commit comments

Comments
 (0)