aboutsummaryrefslogtreecommitdiff
path: root/lib/algo
diff options
context:
space:
mode:
authorChristian C <cc@localhost>2025-03-23 15:46:37 -0700
committerChristian C <cc@localhost>2025-03-23 15:46:37 -0700
commitddafa2764240436557aa54484e00f64cc11ec001 (patch)
treee95d8c21c20cdbe7ad5204a73b16246f4f938701 /lib/algo
parent3cfdec959d9ae00d6b44391cc8daec5ded831295 (diff)
Shorter type name
Diffstat (limited to 'lib/algo')
-rw-r--r--lib/algo/flood_fill.c2
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;