Reacted on -Wsign-compare warnings of gcc
This commit is contained in:
parent
ac0c9aeec6
commit
f667fc6458
@ -769,8 +769,8 @@ int Xorriso_option_setfacl_listi(struct XorrisO *xorriso, char *path, int flag)
|
|||||||
|
|
||||||
/* Register ACL entry */
|
/* Register ACL entry */
|
||||||
l= strlen(line);
|
l= strlen(line);
|
||||||
if(wpt + l + 2 - buf > buf_size) {
|
if(wpt + l + 2 - buf > (int) buf_size) {
|
||||||
if(buf_size + buf_add > xorriso->temp_mem_limit) {
|
if((int) (buf_size + buf_add) > xorriso->temp_mem_limit) {
|
||||||
Sfile_scale((double) xorriso->temp_mem_limit, limit_text,5,1e4,1);
|
Sfile_scale((double) xorriso->temp_mem_limit, limit_text,5,1e4,1);
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"-setfacl_list: List entry for a single file exceeds -temp_mem_limit %s",
|
"-setfacl_list: List entry for a single file exceeds -temp_mem_limit %s",
|
||||||
@ -1015,7 +1015,7 @@ int Xorriso_option_setfattr_listi(struct XorrisO *xorriso, char *path,
|
|||||||
ret= 1; goto ex;
|
ret= 1; goto ex;
|
||||||
}
|
}
|
||||||
mem_used+= strlen(line) + 1;
|
mem_used+= strlen(line) + 1;
|
||||||
if(mem_used > xorriso->temp_mem_limit) {
|
if(mem_used > (size_t) xorriso->temp_mem_limit) {
|
||||||
Sfile_scale((double) xorriso->temp_mem_limit, limit_text,5,1e4,1);
|
Sfile_scale((double) xorriso->temp_mem_limit, limit_text,5,1e4,1);
|
||||||
sprintf(xorriso->info_text,
|
sprintf(xorriso->info_text,
|
||||||
"-setfattr_list: List entry for a single file exceeds -temp_mem_limit %s",
|
"-setfattr_list: List entry for a single file exceeds -temp_mem_limit %s",
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.05.19.133840"
|
#define Xorriso_timestamP "2011.05.19.133940"
|
||||||
|
Loading…
Reference in New Issue
Block a user