diff options
author | Christian C <cc@localhost> | 2025-03-23 15:46:37 -0700 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-23 15:46:37 -0700 |
commit | ddafa2764240436557aa54484e00f64cc11ec001 (patch) | |
tree | e95d8c21c20cdbe7ad5204a73b16246f4f938701 /lib/algo | |
parent | 3cfdec959d9ae00d6b44391cc8daec5ded831295 (diff) |
Shorter type name
Diffstat (limited to 'lib/algo')
-rw-r--r-- | lib/algo/flood_fill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/algo/flood_fill.c b/lib/algo/flood_fill.c index 0506532..d11b5aa 100644 --- a/lib/algo/flood_fill.c +++ b/lib/algo/flood_fill.c @@ -8,7 +8,7 @@ // 4. Check if the (x,y) coordinate in the image is the same color as the fill color // 5. If all hold, set the label for the pixel, and check each neighbor // Otherwise, stop flooding -bool_t flood(ImageData_t* image, ImageMaskData_t* mask, size_t width, size_t height, size_t channels, size_t x, size_t y, ImageData_t* fill_color, ImageMaskData_t label) +bool_t flood(ImageData_t* image, MaskData_t* mask, size_t width, size_t height, size_t channels, size_t x, size_t y, ImageData_t* fill_color, MaskData_t label) { if ((x >= width) | (y >= height)) { return FALSE; |