com php-src: Fix MHANDLEFUNC signature: ext/pdo_dblib/pdo_d blib.c ext/pdo_dblib/php_pdo_dblib_int.h

From: Date: Mon, 14 Dec 2020 09:25:03 +0000
Subject: com php-src: Fix MHANDLEFUNC signature: ext/pdo_dblib/pdo_d blib.c ext/pdo_dblib/php_pdo_dblib_int.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114428@lists.php.net to get a copy of this message
Commit: f2ddfcc7bb2d3c6910ccf71c9d4972ac0f037aee Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 14 Dec 2020 10:23:28 +0100 Parents: 47fe4125189833e80eac8c09f7d1cf83b10aeb0d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2ddfcc7bb2d3c6910ccf71c9d4972ac0f037aee Log: Fix MHANDLEFUNC signature The last parameter is int, not short int. Changed paths: M ext/pdo_dblib/pdo_dblib.c M ext/pdo_dblib/php_pdo_dblib_int.h Diff: diff --git a/ext/pdo_dblib/pdo_dblib.c b/ext/pdo_dblib/pdo_dblib.c index ddce55dc361..12378fb0db2 100644 --- a/ext/pdo_dblib/pdo_dblib.c +++ b/ext/pdo_dblib/pdo_dblib.c @@ -121,7 +121,7 @@ int pdo_dblib_error_handler(DBPROCESS *dbproc, int severity, int dberr, } int pdo_dblib_msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, - int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line) + int severity, char *msgtext, char *srvname, char *procname, int line) { pdo_dblib_err *einfo; diff --git a/ext/pdo_dblib/php_pdo_dblib_int.h b/ext/pdo_dblib/php_pdo_dblib_int.h index ecd65f577c6..0a5c7898fcf 100644 --- a/ext/pdo_dblib/php_pdo_dblib_int.h +++ b/ext/pdo_dblib/php_pdo_dblib_int.h @@ -98,7 +98,7 @@ int pdo_dblib_error_handler(DBPROCESS *dbproc, int severity, int dberr, int oserr, char *dberrstr, char *oserrstr); int pdo_dblib_msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, - int severity, char *msgtext, char *srvname, char *procname, DBUSMALLINT line); + int severity, char *msgtext, char *srvname, char *procname, int line); extern const pdo_driver_t pdo_dblib_driver; extern const struct pdo_stmt_methods dblib_stmt_methods;

« previous php.cvs (#114428) next »