sec: fix type qualifier ambiguity
[bertos.git] / bertos / sec / cipher / aes_f32.h
index d172388decab101057c03cdf259bf537796b28bf..4fa64a0f9361f4ab9bebcea39074c4e125079a14 100644 (file)
@@ -440,7 +440,9 @@ static void lazy_expandKeyEnc256(uint32_t *k)
        }
 }
 
-static const void (*lazy_expandKeyEnc[3])(uint32_t *k) =
+typedef void (*lazy_expand_handler)(uint32_t *);
+
+static const lazy_expand_handler lazy_expandKeyEnc[3] =
 {
        lazy_expandKeyEnc128, lazy_expandKeyEnc192, lazy_expandKeyEnc256,
 };