From: Ilia Alshanetsky Date: Sun, 9 Aug 2009 13:16:21 +0000 (+0000) Subject: MFB: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong... X-Git-Tag: php-5.4.0alpha1~191^2~2823 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d24d6a449e22c0ce876e1deb9cea75e52b9ff2dc;p=php MFB: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) --- diff --git a/ext/gd/libgd/gd_compat.c b/ext/gd/libgd/gd_compat.c index bba62341ca..473ea203e5 100644 --- a/ext/gd/libgd/gd_compat.c +++ b/ext/gd/libgd/gd_compat.c @@ -14,7 +14,7 @@ int gdJpegGetVersionInt() return JPEG_LIB_VERSION; } -int gdJpegGetVersionString() +const char * gdJpegGetVersionString() { switch(JPEG_LIB_VERSION) { case 62: diff --git a/ext/gd/libgd/gd_compat.h b/ext/gd/libgd/gd_compat.h index 382db9c494..959136efcf 100644 --- a/ext/gd/libgd/gd_compat.h +++ b/ext/gd/libgd/gd_compat.h @@ -10,7 +10,7 @@ const char * gdPngGetVersionString(); -int gdJpegGetVersionString(); +const char * gdJpegGetVersionString(); int gdJpegGetVersionInt(); int overflow2(int a, int b);