diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-06-22 00:40:50 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-06-22 00:40:50 +0300 |
commit | 323b2733f6b42d00dd86e77ac524d64f6ddc4e22 (patch) | |
tree | 49c72ac7d1e6077369f1de6a5d7a6d7847e51bf9 /ext/pdo/pdo_dbh.c | |
parent | 4ccbe03e445800d26aba5424a84e64e235f08ece (diff) | |
download | php-git-323b2733f6b42d00dd86e77ac524d64f6ddc4e22.tar.gz |
Fixed compilation warnings
Diffstat (limited to 'ext/pdo/pdo_dbh.c')
-rw-r--r-- | ext/pdo/pdo_dbh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index ffb1b6ef03..c988a575fb 100644 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -1246,7 +1246,7 @@ const zend_function_entry pdo_dbh_functions[] = /* {{{ */ { PHP_ME(PDO, __wakeup, arginfo_pdo__void, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) PHP_ME(PDO, __sleep, arginfo_pdo__void, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) PHP_ME(PDO, getAvailableDrivers, arginfo_pdo__void, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) - {NULL, NULL, NULL} + PHP_FE_END }; /* }}} */ @@ -1309,7 +1309,7 @@ int pdo_hash_methods(pdo_dbh_object_t *dbh_obj, int kind) func.arg_info = (zend_internal_arg_info*)funcs->arg_info + 1; func.num_args = funcs->num_args; - if (info->required_num_args == -1) { + if (info->required_num_args == (uint32_t)-1) { func.required_num_args = funcs->num_args; } else { func.required_num_args = info->required_num_args; |