Reacted on -Wsign-compare warnings of gcc
This commit is contained in:
@@ -429,7 +429,7 @@ static int isoburn_inspect_partition(struct isoburn *o, uint32_t img_size,
|
||||
o->loaded_partition_offset= offst;
|
||||
|
||||
/* If the partition start is too large: Report but do not accept. */
|
||||
if(offst > max_offst) { /* Not more than 1 MB of .target_iso_head */
|
||||
if(offst > (uint32_t) max_offst) {/* Not more than 1 MB of .target_iso_head */
|
||||
sprintf(msg,
|
||||
"Detected partition offset of %.f blocks. Maximum for load buffer is %d",
|
||||
(double) offst, max_offst);
|
||||
|
Reference in New Issue
Block a user