Reacted on warnings of gcc about mixed sign comparison
This commit is contained in:
parent
4d5051a122
commit
6edffeac3d
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.06.06.104404"
|
#define Cdrskin_timestamP "2011.06.06.105052"
|
||||||
|
@ -273,7 +273,7 @@ static int next_enum_cXtYdZs2(burn_drive_enumerator_t *idx,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (strlen(entry->d_name) > volpath_size - 11)
|
if (strlen(entry->d_name) > (size_t) (volpath_size - 11))
|
||||||
continue;
|
continue;
|
||||||
ret = decode_btl_solaris(entry->d_name,
|
ret = decode_btl_solaris(entry->d_name,
|
||||||
&busno, &tgtno, &lunno, 0);
|
&busno, &tgtno, &lunno, 0);
|
||||||
@ -294,7 +294,7 @@ static int next_enum_cXtYdZs2(burn_drive_enumerator_t *idx,
|
|||||||
continue;
|
continue;
|
||||||
if (cinfo.dki_ctype != DKC_CDROM)
|
if (cinfo.dki_ctype != DKC_CDROM)
|
||||||
continue;
|
continue;
|
||||||
if (adr_size <= strlen(volpath))
|
if (adr_size <= (int) strlen(volpath))
|
||||||
{ret = -1; goto ex;}
|
{ret = -1; goto ex;}
|
||||||
strcpy(adr, volpath);
|
strcpy(adr, volpath);
|
||||||
{ret = 1; goto ex;}
|
{ret = 1; goto ex;}
|
||||||
|
Loading…
Reference in New Issue
Block a user