com php-src: Use size_t instead of int for loop c ounter: ext/pdo_dblib/dblib_driver.c
| From: | Nikita Popov | Date: | Tue, 05 Jul 2016 14:09:27 +0000 |
| Subject: | com php-src: Use size_t instead of int for loop c ounter: ext/pdo_dblib/dblib_driver.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92810@lists.php.net to get a copy of this message | ||
Commit: f22bc6438dcaf55bf80e7be972f3374d31dbaae5
Author: Adam Baratz <adam.baratz@gmail.com> Fri, 1 Jul 2016 15:39:02 -0400
Committer: Nikita Popov <nikic@php.net> Tue, 5 Jul 2016 16:09:27 +0200
Parents: 4576c41291a80de572ac21d829c226022fab47d3
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f22bc6438dcaf55bf80e7be972f3374d31dbaae5
Log:
Use size_t instead of int for loop counter
Changed paths:
M ext/pdo_dblib/dblib_driver.c
Diff:
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c
index ad54ae5..d071027 100644
--- a/ext/pdo_dblib/dblib_driver.c
+++ b/ext/pdo_dblib/dblib_driver.c
@@ -148,7 +148,7 @@ static int dblib_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, size_t unqu
int useBinaryEncoding = 0;
const char * hex = "0123456789abcdef";
- int i;
+ size_t i;
char * q;
*quotedlen = 0;