File s390-support.diff of Package cromfs
--- cromfs.cc +++ cromfs.cc @@ -584,7 +584,7 @@ void cromfs::read_block(cromfs_blocknum_t ind, (unsigned)fblock.size(), (unsigned)size, (unsigned)(startoffs)); #endif - uint_fast32_t bytes = std::min(fblock.size() - startoffs, size); + uint_fast32_t bytes = std::min(uint_fast32_t(fblock.size() - startoffs), size); std::memcpy(target, &fblock[startoffs], bytes); } }