Skip to content

Commit b9473aa

Browse files
committed
pwl is a file path
1 parent 2e6be49 commit b9473aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/enchant/enchant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ PHP_METHOD(EnchantDict, __construct)
523523
char *tag, *pwl = NULL;
524524
size_t taglen, pwllen = 0;
525525

526-
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|s", &broker, enchant_broker_ce, &tag, &taglen, &pwl, &pwllen) == FAILURE) {
526+
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|p", &broker, enchant_broker_ce, &tag, &taglen, &pwl, &pwllen) == FAILURE) {
527527
RETURN_THROWS();
528528
}
529529

0 commit comments

Comments
 (0)