From 7206a97ecdd280537ae2370928a2b270f2c4380b Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Tue, 19 May 2009 10:11:46 +0000 Subject: [PATCH] Fixed compiler warning (HEAD only) --- ext/pdo/php_pdo_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 91e13d0ee3..4e03067f74 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -259,7 +259,7 @@ typedef int (*pdo_dbh_set_attr_func)(pdo_dbh_t *dbh, long attr, zval *val TSRMLS /* return last insert id. NULL indicates error condition, otherwise, the return value * MUST be an emalloc'd NULL terminated string. */ -typedef char *(*pdo_dbh_last_id_func)(pdo_dbh_t *dbh, const char *name, int *len TSRMLS_DC); +typedef char *(*pdo_dbh_last_id_func)(pdo_dbh_t *dbh, const char *name, unsigned int *len TSRMLS_DC); /* fetch error information. if stmt is not null, fetch information pertaining * to the statement, otherwise fetch global error information. The driver -- 2.40.0