diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 20:22:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 20:22:49 +0200 |
commit | 4d997f63d98c663b2d9acccd3655572652f61c7d (patch) | |
tree | bce31fa83a23d3ad58d640d581d498f3bdd0cbf4 /ext/standard/rand.c | |
parent | 6f9f0bf2056f0dc17d9bcc6dd3b7d28ac878c6fc (diff) | |
download | php-git-4d997f63d98c663b2d9acccd3655572652f61c7d.tar.gz |
master renames phase 3
Diffstat (limited to 'ext/standard/rand.c')
-rw-r--r-- | ext/standard/rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/rand.c b/ext/standard/rand.c index 8cff654c3f..fdc86632cd 100644 --- a/ext/standard/rand.c +++ b/ext/standard/rand.c @@ -318,7 +318,7 @@ PHP_FUNCTION(mt_rand) if (zend_parse_parameters(argc TSRMLS_CC, "ll", &min, &max) == FAILURE) { return; } else if (max < min) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(" ZEND_INT_FMT ") is smaller than min(" ZEND_INT_FMT ")", max, min); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(" ZEND_LONG_FMT ") is smaller than min(" ZEND_LONG_FMT ")", max, min); RETURN_FALSE; } } |