Supress "warning: comparison between signed and unsigned integer expressions" in minui/resources.c and mtdutils/mtdutils.c
diff --git a/minui/resources.c b/minui/resources.c
index 3d2c727..e055e68 100644
--- a/minui/resources.c
+++ b/minui/resources.c
@@ -125,7 +125,7 @@
int y;
if (channels == 3) {
- for (y = 0; y < height; ++y) {
+ for (y = 0; y < (int)height; ++y) {
unsigned char* pRow = pData + y * stride;
png_read_row(png_ptr, pRow, NULL);
@@ -144,7 +144,7 @@
}
}
} else {
- for (y = 0; y < height; ++y) {
+ for (y = 0; y < (int)height; ++y) {
unsigned char* pRow = pData + y * stride;
png_read_row(png_ptr, pRow, NULL);
}