kern/ieee1275/mmap.c:52:22: error: comparison of integers of different signs: 'grub_ssize_t' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare] if (available_size > sizeof (available)) ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ 1 error generated.
While we can of course cast to (grub_ssize_t) sizeof (available) - should not we check for available_size < 0 as well? _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel