diff options
author | Andrey Hristov <andrey@php.net> | 2005-12-01 14:12:56 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2005-12-01 14:12:56 +0000 |
commit | c23052d6d2fcbc88862bcb2a86d6612c8f344bb2 (patch) | |
tree | 67108101967009bb841304f88400d9c0038c9d7b /ext/mysqli/mysqli_api.c | |
parent | 7a652e397b480c5683333a223c4342c23241c27c (diff) | |
download | php-git-c23052d6d2fcbc88862bcb2a86d6612c8f344bb2.tar.gz |
fix compile failure on Windows - Microsoft hasn't heard of long long :)
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r-- | ext/mysqli/mysqli_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 3a8b26fd66..3178ed8ee7 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -682,8 +682,8 @@ PHP_FUNCTION(mysqli_stmt_fetch) #if SIZEOF_LONG==8 if (uns && llval > 9223372036854775807L) { #elif SIZEOF_LONG==4 - if ((uns && llval > 2147483647LL) || - (!uns && (( 2147483647LL < (long long) llval) || (-2147483648LL > (long long) llval)))) + if ((uns && llval > L64(2147483647)) || + (!uns && (( L64(2147483647) < (my_longlong) llval) || (L64(-2147483648) > (my_longlong) llval)))) { #endif char tmp[22]; |