diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index ec8d08aac151bd2aebaf6f9afc37bf462729bde0..6461df6c4647a96a17c5c807875b144303ed86f1 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -209,7 +209,7 @@ static void add_dib_bits( HIMAGELIST himl, int pos, int count, int width, int he
 
     for (n = 0; n < count; n++)
     {
-        int has_alpha = 0;
+        BOOL has_alpha = FALSE;
 
         imagelist_point_from_index( himl, pos + n, &pt );