@@ -3736,7 +3736,7 @@ surf_average_color(PyObject *self, PyObject *args, PyObject *kwargs)
37363736 Uint8 r , g , b , a ;
37373737 int x , y , w , h ;
37383738 static char * keywords [] = {"surface" , "rect" , "consider_alpha" , NULL };
3739- SDL_bool consider_alpha = SDL_FALSE ;
3739+ int consider_alpha = SDL_FALSE ;
37403740
37413741 if (!PyArg_ParseTupleAndKeywords (args , kwargs , "O!|Op" , keywords ,
37423742 & pgSurface_Type , & surfobj , & rectobj ,
@@ -4050,7 +4050,7 @@ surf_box_blur(PyObject *self, PyObject *args, PyObject *kwargs)
40504050 pgSurfaceObject * dst_surf_obj = NULL ;
40514051 pgSurfaceObject * src_surf_obj ;
40524052 SDL_Surface * new_surf = NULL ;
4053- SDL_bool repeat_edge_pixels = SDL_TRUE ;
4053+ int repeat_edge_pixels = SDL_TRUE ;
40544054
40554055 int radius ;
40564056
@@ -4083,7 +4083,7 @@ surf_gaussian_blur(PyObject *self, PyObject *args, PyObject *kwargs)
40834083 pgSurfaceObject * dst_surf_obj = NULL ;
40844084 pgSurfaceObject * src_surf_obj ;
40854085 SDL_Surface * new_surf = NULL ;
4086- SDL_bool repeat_edge_pixels = SDL_TRUE ;
4086+ int repeat_edge_pixels = SDL_TRUE ;
40874087
40884088 int radius ;
40894089
0 commit comments