From 318970768154c1cc84f089c1fac7871353af6a61 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 9 Aug 2009 13:15:45 +0000 Subject: Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) --- ext/gd/libgd/gd_compat.c | 2 +- ext/gd/libgd/gd_compat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/gd') 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 022d0a8896..c084a0069c 100644 --- a/ext/gd/libgd/gd_compat.h +++ b/ext/gd/libgd/gd_compat.h @@ -8,7 +8,7 @@ #endif const char * gdPngGetVersionString(); -int gdJpegGetVersionString(); +const char * gdJpegGetVersionString(); int gdJpegGetVersionInt(); int overflow2(int a, int b); -- cgit v1.2.1