Reacted on warnings on a 64 bit system
This commit is contained in:
@ -687,7 +687,7 @@ bonked_root:;
|
||||
if(ret<=0) {
|
||||
much_too_long:;
|
||||
sprintf(xorriso->info_text, "Effective path gets much too long (%d)",
|
||||
strlen(eff_path)+strlen(apt)+1);
|
||||
(int) (strlen(eff_path)+strlen(apt)+1));
|
||||
if(!(flag&1))
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(-1);
|
||||
@ -1948,7 +1948,7 @@ int Xorriso_ls_filev(struct XorrisO *xorriso, int filec, char **filev,
|
||||
much_too_long:;
|
||||
sprintf(xorriso->info_text,
|
||||
"Path for file listing gets much too long (%d)",
|
||||
strlen(path)+strlen(filev[i])+1);
|
||||
(int) (strlen(path)+strlen(filev[i])+1));
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
was_error++;
|
||||
continue;
|
||||
@ -2350,7 +2350,7 @@ int Xorriso_obtain_pattern_files(
|
||||
|
||||
if(xorriso->re_fill==0) { /* This is the empty pattern representing root */
|
||||
if(flag&1) {
|
||||
*filec++;
|
||||
(*filec)++;
|
||||
(*mem)+= 8;
|
||||
return(1);
|
||||
} else {
|
||||
@ -2380,7 +2380,7 @@ int Xorriso_obtain_pattern_files(
|
||||
much_too_long:;
|
||||
sprintf(xorriso->info_text,
|
||||
"Path for pattern matching gets much too long (%d)",
|
||||
strlen(adr)+strlen(name)+1);
|
||||
(int) (strlen(adr)+strlen(name)+1));
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
||||
return(0);
|
||||
}
|
||||
@ -2421,7 +2421,7 @@ unexpected_change:;
|
||||
out_of_memory:;
|
||||
sprintf(xorriso->info_text,
|
||||
"Cannot allocate enough memory (%d bytes) for pattern expansion",
|
||||
strlen(adr)+1);
|
||||
(int) strlen(adr)+1);
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FATAL", 0);
|
||||
return(-1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user