@@ -3736,7 +3736,7 @@ surf_average_color(PyObject *self, PyObject *args, PyObject *kwargs)
3736
3736
Uint8 r , g , b , a ;
3737
3737
int x , y , w , h ;
3738
3738
static char * keywords [] = {"surface" , "rect" , "consider_alpha" , NULL };
3739
- SDL_bool consider_alpha = SDL_FALSE ;
3739
+ int consider_alpha = SDL_FALSE ;
3740
3740
3741
3741
if (!PyArg_ParseTupleAndKeywords (args , kwargs , "O!|Op" , keywords ,
3742
3742
& pgSurface_Type , & surfobj , & rectobj ,
@@ -4050,7 +4050,7 @@ surf_box_blur(PyObject *self, PyObject *args, PyObject *kwargs)
4050
4050
pgSurfaceObject * dst_surf_obj = NULL ;
4051
4051
pgSurfaceObject * src_surf_obj ;
4052
4052
SDL_Surface * new_surf = NULL ;
4053
- SDL_bool repeat_edge_pixels = SDL_TRUE ;
4053
+ int repeat_edge_pixels = SDL_TRUE ;
4054
4054
4055
4055
int radius ;
4056
4056
@@ -4083,7 +4083,7 @@ surf_gaussian_blur(PyObject *self, PyObject *args, PyObject *kwargs)
4083
4083
pgSurfaceObject * dst_surf_obj = NULL ;
4084
4084
pgSurfaceObject * src_surf_obj ;
4085
4085
SDL_Surface * new_surf = NULL ;
4086
- SDL_bool repeat_edge_pixels = SDL_TRUE ;
4086
+ int repeat_edge_pixels = SDL_TRUE ;
4087
4087
4088
4088
int radius ;
4089
4089
0 commit comments