Merge "sw/vec_iree: do not build some slow targets for kelvin"
diff --git a/risp4ml/common/test_utils.h b/risp4ml/common/test_utils.h
index 68978f7..a7053af 100644
--- a/risp4ml/common/test_utils.h
+++ b/risp4ml/common/test_utils.h
@@ -39,7 +39,7 @@
 // Initializes raw image to random value within min and max range
 static inline void InitImageRandom(Image* image, pixel_type_t min_val,
                                    pixel_type_t max_val) {
-  pixel_type_t range = max_val + 1 - min_val;
+  int range = max_val + 1 - min_val;
   for (uint16_t c = 0; c < image->num_channels; ++c) {
     for (uint16_t y = 0; y < image->height; ++y) {
       for (uint16_t x = 0; x < image->width; ++x) {