summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_prop.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-11-18 17:02:18 +0000
committerAndrey Hristov <andrey@php.net>2008-11-18 17:02:18 +0000
commit825034cea5546ba9c5542abbd863338c2ec0beaf (patch)
tree4cd04d1407bd881078d2a8b05acf49feb7a7e3cb /ext/mysqli/mysqli_prop.c
parent4126370491cc42427e96ada7883fa924f0bdef34 (diff)
downloadphp-git-825034cea5546ba9c5542abbd863338c2ec0beaf.tar.gz
MFH:
Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
Diffstat (limited to 'ext/mysqli/mysqli_prop.c')
-rw-r--r--ext/mysqli/mysqli_prop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_prop.c b/ext/mysqli/mysqli_prop.c
index 2b85a2a58a..a08ebcca9d 100644
--- a/ext/mysqli/mysqli_prop.c
+++ b/ext/mysqli/mysqli_prop.c
@@ -176,7 +176,7 @@ static int link_affected_rows_read(mysqli_object *obj, zval **retval TSRMLS_DC)
ZVAL_LONG(*retval, rc);
} else {
char *ret;
- int l = spprintf(&ret, 0, MYSQLI_LLU_SPEC, (my_ulonglong) rc);
+ int l = spprintf(&ret, 0, MYSQLI_LLU_SPEC, rc);
ZVAL_STRINGL(*retval, ret, l, 0);
}
}
@@ -294,7 +294,7 @@ static int stmt_affected_rows_read(mysqli_object *obj, zval **retval TSRMLS_DC)
ZVAL_LONG(*retval, rc);
} else {
char *ret;
- int l = spprintf(&ret, 0, MYSQLI_LLU_SPEC, (my_ulonglong) rc);
+ int l = spprintf(&ret, 0, MYSQLI_LLU_SPEC, rc);
ZVAL_STRINGL(*retval, ret, l, 0);
}
}