From fa7ba626607e67991873b3e858b9bc8846fefcc8 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 23 Mar 2024 18:30:44 +0100 Subject: [PATCH] Made Xorriso_refresh_ts_tags() ready for long block adresses --- xorriso/write_run.c | 4 ++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 1cb0a141..a2081d74 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -3393,7 +3393,7 @@ ex:; int Xorriso_refresh_ts_tags(struct XorrisO *xorriso, struct burn_drive *drive, void *ctx_unch, void *ctx_chng, - int iso_lba, int session_size, + off_t iso_lba, off_t session_size, int checksum_block, int flag) { int i, ret, tag_type, look_for_tag, check_start, look_from_block, was_change; @@ -3570,7 +3570,7 @@ no_ctx:; if(checksum_block > 0) { /* Verify and re-compute existing checksum tree and session tag */ ret= Xorriso_refresh_ts_tags(xorriso, drive, ctx_unch, ctx_chng, - iso_lba, session_size, checksum_block, 0); + (off_t) iso_lba, (off_t) session_size, checksum_block, 0); if(ret == -2) goto no_ctx; if(ret <= 0) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 62ecb3b4..c100b386 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.03.22.204740" +#define Xorriso_timestamP "2024.03.23.173025"