diff options
author | Benoit Foucher <benoit@zeroc.com> | 2018-05-03 16:40:47 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2018-05-03 16:40:59 +0200 |
commit | 75d923080037abc369a068e03c3f9076a83d3879 (patch) | |
tree | faf99fc07c3b14d63c2ffaedd6ca899ec7255bac /php/src/php7/Communicator.cpp | |
parent | Remove useless lock in .NET TraceLoggerI (diff) | |
download | ice-75d923080037abc369a068e03c3f9076a83d3879.tar.bz2 ice-75d923080037abc369a068e03c3f9076a83d3879.tar.xz ice-75d923080037abc369a068e03c3f9076a83d3879.zip |
Fixed issue where parsing of 64-bits values would be incorrect on Windows, fixes #79
Diffstat (limited to 'php/src/php7/Communicator.cpp')
-rw-r--r-- | php/src/php7/Communicator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/php7/Communicator.cpp b/php/src/php7/Communicator.cpp index 819b9a4c350..fc8575820bc 100644 --- a/php/src/php7/Communicator.cpp +++ b/php/src/php7/Communicator.cpp @@ -1274,7 +1274,7 @@ ZEND_FUNCTION(Ice_register) zval* comm; char* s; size_t sLen; - long expires = 0; + zend_long expires = 0; if(zend_parse_parameters(ZEND_NUM_ARGS(), const_cast<char*>("Os|l"), &comm, communicatorClassEntry, &s, &sLen, &expires) != SUCCESS) { @@ -1449,7 +1449,7 @@ ZEND_FUNCTION(Ice_identityToString) assert(identityClass); zval* zv; - long mode = 0; + zend_long mode = 0; if(zend_parse_parameters(ZEND_NUM_ARGS(), const_cast<char*>("O|l"), &zv, identityClass, &mode) != SUCCESS) { |