Fixed image reading bug introduced with revision 3144

This commit is contained in:
Thomas Schmitt 2010-04-07 07:31:32 +00:00
parent 1afe1443be
commit 6f63c6388c
2 changed files with 2 additions and 2 deletions

View File

@ -1086,7 +1086,7 @@ int isoburn_read_iso_head(struct burn_drive *d, int lba,
ret = 1;
}
memset(buffer, 0, 64 * 1024);
to_read= capacity * 2048;
to_read= (off_t) capacity * ((off_t) 2048);
if(ret > 0 && to_read >= (off_t) (36 * 1024)) {
if(to_read >= (off_t) (64 * 1024))
to_read= 64 * 1024;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.04.06.192328"
#define Xorriso_timestamP "2010.04.07.073024"