From: Felipe Pena Date: Tue, 23 Nov 2010 21:49:18 +0000 (+0000) Subject: - Fixed compile warnings X-Git-Tag: php-5.3.4RC2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9a2eb4a1401cc559dcbe4cc938248b60ff484c3;p=php - Fixed compile warnings --- diff --git a/ext/standard/rand.c b/ext/standard/rand.c index eb26cc5c50..8cd130d969 100644 --- a/ext/standard/rand.c +++ b/ext/standard/rand.c @@ -323,7 +323,7 @@ PHP_FUNCTION(mt_rand) } if (max < min) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(%d) is smaller than min(%d)", max, min); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "max(%ld) is smaller than min(%ld)", max, min); RETURN_FALSE; }