From: Anatol Belski Date: Thu, 28 Aug 2014 08:54:27 +0000 (+0200) Subject: fix type X-Git-Tag: PRE_PHP7_REMOVALS~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b048435736171732a57268899d7bdb14379cd90;p=php fix type --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 962cab600b..d8596c9620 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -37,7 +37,7 @@ #if !defined(MYSQLI_USE_MYSQLND) /* {{{ mysqli_tx_cor_options_to_string */ -static void mysqli_tx_cor_options_to_string(const MYSQL * const conn, smart_str * str, const size_t mode) +static void mysqli_tx_cor_options_to_string(const MYSQL * const conn, smart_str * str, const uint32_t mode) { if (mode & TRANS_COR_AND_CHAIN && !(mode & TRANS_COR_AND_NO_CHAIN)) { if (str->s && str->s->len) { @@ -108,7 +108,7 @@ mysqli_escape_string_for_tx_name_in_comment(const char * const name TSRMLS_DC) /* }}} */ /* {{{ mysqli_commit_or_rollback_libmysql */ -static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, const unsigned int mode, const char * const name TSRMLS_DC) +static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, const uint32_t mode, const char * const name TSRMLS_DC) { int ret; smart_str tmp_str = {0};