svn: /php/php-src/trunk/ext/gd/libgd/ gd_compat.c gd_compat.h

From: Date: Sun, 09 Aug 2009 13:16:21 +0000
Subject: svn: /php/php-src/trunk/ext/gd/libgd/ gd_compat.c gd_compat.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-60074@lists.php.net to get a copy of this message
iliaa Sun, 09 Aug 2009 13:16:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286949 Log: MFB: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) Bug: http://bugs.php.net/49193 (Open) gd_compat > gdJpegGetVersionString should return const char* not int Changed paths: U php/php-src/trunk/ext/gd/libgd/gd_compat.c U php/php-src/trunk/ext/gd/libgd/gd_compat.h Modified: php/php-src/trunk/ext/gd/libgd/gd_compat.c =================================================================== --- php/php-src/trunk/ext/gd/libgd/gd_compat.c 2009-08-09 13:15:45 UTC (rev 286948) +++ php/php-src/trunk/ext/gd/libgd/gd_compat.c 2009-08-09 13:16:21 UTC (rev 286949) @@ -14,7 +14,7 @@ return JPEG_LIB_VERSION; } -int gdJpegGetVersionString() +const char * gdJpegGetVersionString() { switch(JPEG_LIB_VERSION) { case 62: Modified: php/php-src/trunk/ext/gd/libgd/gd_compat.h =================================================================== --- php/php-src/trunk/ext/gd/libgd/gd_compat.h 2009-08-09 13:15:45 UTC (rev 286948) +++ php/php-src/trunk/ext/gd/libgd/gd_compat.h 2009-08-09 13:16:21 UTC (rev 286949) @@ -10,7 +10,7 @@ const char * gdPngGetVersionString(); -int gdJpegGetVersionString(); +const char * gdJpegGetVersionString(); int gdJpegGetVersionInt(); int overflow2(int a, int b);

« previous php.cvs (#60074) next »