diff --git a/ext/gd/libgd/gd_compat.c b/ext/gd/libgd/gd_compat.c index bba62341ca7..473ea203e5d 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 382db9c4948..959136efcf7 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);