mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
Fix bug #73645 - int/size_t confusion
This commit is contained in:
parent
6292fe84d3
commit
1d59ed7524
@ -12,7 +12,7 @@
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Author: Stig Sæther Bakken <ssb@php.net> |
|
||||
| Author: Stig Sæther Bakken <ssb@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
PHPAPI char *
|
||||
php_canonicalize_version(const char *version)
|
||||
{
|
||||
int len = strlen(version);
|
||||
size_t len = strlen(version);
|
||||
char *buf = safe_emalloc(len, 2, 1), *q, lp, lq;
|
||||
const char *p;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user