com php-src: ported ext/enchant: ext/enchant/enchant.c

From: Date: Tue, 19 Aug 2014 19:24:15 +0000
Subject: com php-src: ported ext/enchant: ext/enchant/enchant.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80751@lists.php.net to get a copy of this message
Commit: 3ebf5bf99ca64eb7bddbb381ac4f901e7732ef05 Author: Anatol Belski <ab@php.net> Tue, 19 Aug 2014 21:24:15 +0200 Parents: 49a78cc6b39f099cf90521ae28f6708d8c15b023 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3ebf5bf99ca64eb7bddbb381ac4f901e7732ef05 Log: ported ext/enchant Changed paths: M ext/enchant/enchant.c Diff: diff --git a/ext/enchant/enchant.c b/ext/enchant/enchant.c index 5f4dcb6..e8c9555 100644 --- a/ext/enchant/enchant.c +++ b/ext/enchant/enchant.c @@ -422,11 +422,11 @@ PHP_FUNCTION(enchant_broker_set_dict_path) { zval *broker; enchant_broker *pbroker; - long dict_type; + php_int_t dict_type; char *value; int value_len; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rls", &broker, &dict_type, &value, &value_len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ris", &broker, &dict_type, &value, &value_len) == FAILURE) { RETURN_FALSE; } @@ -462,10 +462,10 @@ PHP_FUNCTION(enchant_broker_get_dict_path) { zval *broker; enchant_broker *pbroker; - long dict_type; + php_int_t dict_type; char *value; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &broker, &dict_type) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ri", &broker, &dict_type) == FAILURE) { RETURN_FALSE; }

« previous php.cvs (#80751) next »