cvs: php-src(PHP_4_3) /ext/gd gd.c

From: Date: Wed, 29 Dec 2004 21:41:07 +0000
Subject: cvs: php-src(PHP_4_3) /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29703@lists.php.net to get a copy of this message
iliaa Wed Dec 29 16:41:07 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/gd gd.c Log: MFH: Fixed compiler warnings. http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.221.2.47&r2=1.221.2.48&ty=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.221.2.47 php-src/ext/gd/gd.c:1.221.2.48 --- php-src/ext/gd/gd.c:1.221.2.47 Wed Dec 29 16:08:42 2004 +++ php-src/ext/gd/gd.c Wed Dec 29 16:41:07 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.221.2.47 2004/12/29 21:08:42 iliaa Exp $ */ +/* $Id: gd.c,v 1.221.2.48 2004/12/29 21:41:07 iliaa Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -3376,7 +3376,7 @@ #else if (_fg < 0 || _fg > gdImageColorsTotal(bg_img)) { #endif - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Foreground color index %d out of range", _fg); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Foreground color index %ld out of range", _fg); RETURN_FALSE; } @@ -3385,7 +3385,7 @@ #else if (_bg < 0 || _bg > gdImageColorsTotal(bg_img)) { #endif - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Background color index %d out of range", _bg); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Background color index %ld out of range", _bg); RETURN_FALSE; } @@ -3428,7 +3428,7 @@ T1_AASetLevel(T1_AA_HIGH); break; default: - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value %d as number of steps for antialiasing", aa_steps); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value %ld as number of steps for antialiasing", aa_steps); RETURN_FALSE; }

« previous php.cvs (#29703) next »