]> granicus.if.org Git - php/commitdiff
MFH: Fixed function definition
authorIlia Alshanetsky <iliaa@php.net>
Tue, 11 Sep 2007 23:34:25 +0000 (23:34 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 11 Sep 2007 23:34:25 +0000 (23:34 +0000)
ext/gd/libgd/gd.h

index ef6da3c31d817dce6371e20ff60df238fa99fe48..7ef2caa4889e26d24ff1c6db53e045082c6a9319 100644 (file)
@@ -643,7 +643,7 @@ int gdImageBrightness(gdImagePtr src, int brightness);
 int gdImageContrast(gdImagePtr src, double contrast);
 
 /* Simply adds or substracts respectively red, green or blue to a pixel */
-int gdImageColor(gdImagePtr src, int red, int green, int blue);
+int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
 
 /* Image convolution by a 3x3 custom matrix */
 int gdImageConvolution(gdImagePtr src, float ft[3][3], float filter_div, float offset);