summaryrefslogtreecommitdiffstats
path: root/main/php/gd-info-segfault.patch
blob: 846a19ef7458424f2f87505d58452f856e75912b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: ext/gd/libgd/gd_compat.c
===================================================================
--- ext/gd/libgd/gd_compat.c	(Revision 286947)
+++ ext/gd/libgd/gd_compat.c	(Revision 286948)
@@ -14,7 +14,7 @@
 	return JPEG_LIB_VERSION;
 }
 
-int gdJpegGetVersionString()
+const char * gdJpegGetVersionString()
 {
 	switch(JPEG_LIB_VERSION) {
 		case 62:
Index: ext/gd/libgd/gd_compat.h
===================================================================
--- ext/gd/libgd/gd_compat.h	(Revision 286947)
+++ ext/gd/libgd/gd_compat.h	(Revision 286948)
@@ -8,7 +8,7 @@
 #endif
 
 const char * gdPngGetVersionString();
-int gdJpegGetVersionString();
+const char * gdJpegGetVersionString();
 int gdJpegGetVersionInt();
 int overflow2(int a, int b);