Reacted on compiler warning

This commit is contained in:
Thomas Schmitt 2008-08-27 12:22:23 +00:00
parent 354c145c65
commit 3194a48e38
2 changed files with 4 additions and 4 deletions

View File

@ -4766,7 +4766,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
if(xorriso->file_size_limit <= 0)
sprintf(line, "-file_size_limit off --\n");
else
sprintf(line, "-file_size_limit %.lf --\n",
sprintf(line, "-file_size_limit %.f --\n",
(double) xorriso->file_size_limit);
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso,filter,fp,flag&2);
@ -10748,7 +10748,7 @@ int Xorriso_option_file_size_limit(struct XorrisO *xorriso,
for(i= *idx; i < end_idx; i++)
new_limit+= Scanf_io_size(argv[i], 0);
if(new_limit <= 0) {
sprintf(xorriso->info_text, "-file_size_limit: values sum up to %.lf",
sprintf(xorriso->info_text, "-file_size_limit: values sum up to %.f",
(double) new_limit);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 1);
ret= 0; goto ex;
@ -10759,7 +10759,7 @@ ex:;
(*idx)= end_idx;
if(ret > 0) {
if(xorriso->file_size_limit > 0)
sprintf(xorriso->info_text, "-file_size_limit now at %.lf\n",
sprintf(xorriso->info_text, "-file_size_limit now at %.f\n",
(double) xorriso->file_size_limit);
else
sprintf(xorriso->info_text, "-file_size_limit now off\n");

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.08.27.121211"
#define Xorriso_timestamP "2008.08.27.122127"