Made Xorriso_overwrite_iso_head() ready for long block adresses, part 2

This commit is contained in:
Thomas Schmitt 2024-03-23 18:52:54 +01:00
parent fa7ba62660
commit 41a91dfe86
2 changed files with 4 additions and 3 deletions

View File

@ -3314,7 +3314,7 @@ int Xorriso_update_iso_lba0(struct XorrisO *xorriso,
}
} else {
/* This is a regular superblock relocation. Write full 64 kB. */
ret= Xorriso_overwrite_iso_head(xorriso, drive, head_buffer, 0, 0);
ret= Xorriso_overwrite_iso_head(xorriso, drive, head_buffer, (off_t) 0, 0);
if(ret <= 0)
return(ret);
}
@ -3563,7 +3563,8 @@ no_ctx:;
}
}
ret= Xorriso_overwrite_iso_head(xorriso, drive, head_buffer, iso_lba, 0);
ret= Xorriso_overwrite_iso_head(xorriso, drive, head_buffer, (off_t) iso_lba,
0);
if(ret <= 0)
goto ex;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.03.23.173025"
#define Xorriso_timestamP "2024.03.23.174931"