1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Fix Windows debug builds

`ZEND_ATOL` doesn't accept a size argument.
This commit is contained in:
Christoph M. Becker
2021-07-16 00:39:54 +02:00
parent 1f9b044c80
commit be5fd30d54

View File

@@ -1197,7 +1197,7 @@ int main(int argc, char *argv[])
#if defined(PHP_WIN32) && defined(_DEBUG)
{
char *tmp = getenv("PHP_WIN32_DEBUG_HEAP");
if (tmp && ZEND_ATOL(tmp, 0)) {
if (tmp && ZEND_ATOL(tmp)) {
int tmp_flag;
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE);
_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);