com php-src: fix type: ext/mysqli/mysqli_api.c
| From: | Anatol Belski | Date: | Thu, 28 Aug 2014 09:38:21 +0000 |
| Subject: | com php-src: fix type: ext/mysqli/mysqli_api.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81255@lists.php.net to get a copy of this message | ||
Commit: 0b048435736171732a57268899d7bdb14379cd90
Author: Anatol Belski <ab@php.net> Thu, 28 Aug 2014 10:54:27 +0200
Parents: 6a7c60540b1058302e43cbba227702272350fff4
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0b048435736171732a57268899d7bdb14379cd90
Log:
fix type
Changed paths:
M ext/mysqli/mysqli_api.c
Diff:
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 962cab6..d8596c9 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};