diff --git a/xorriso/write_run.c b/xorriso/write_run.c index f77c6ab8..d461000e 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -3015,19 +3015,19 @@ ex: int Xorriso_overwrite_iso_head(struct XorrisO *xorriso, struct burn_drive *drive, char *head_buffer, - int lba, int flag) + off_t lba, int flag) { int ret; off_t to_write; to_write= 64 * 1024; burn_drive_reset_simulate(drive, xorriso->do_dummy); - ret= burn_random_access_write(drive, (off_t) lba * (off_t) 2048, + ret= burn_random_access_write(drive, lba * (off_t) 2048, head_buffer, to_write, 1); if(ret <= 0) { Xorriso_process_msg_queues(xorriso, 0); sprintf(xorriso->info_text, - "Cannot write new ISO image head to LBA %d", lba); + "Cannot write new ISO image head to LBA %.f", (double) lba); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0); return(0); } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index ccc11f1f..c45e9671 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.03.22.161812" +#define Xorriso_timestamP "2024.03.22.165841"