Made Xorriso_path_from_lba() ready for long block adresses

This commit is contained in:
2024-03-21 16:07:16 +01:00
parent 458b0cb3de
commit ec7ab520ba
5 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
Copyright 2007-2023 Thomas Schmitt, <scdbackup@gmx.net>
Copyright 2007-2024 Thomas Schmitt, <scdbackup@gmx.net>
Provided under GPL version 2 or later.
@ -1376,8 +1376,8 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
sprintf(xorriso->info_text, "Patching boot info table");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
ret= Xorriso_path_from_lba(xorriso, NULL, xorriso->loaded_boot_bin_lba,
sfe, 1);
ret= Xorriso_path_from_lba(xorriso, NULL,
(off_t) xorriso->loaded_boot_bin_lba, sfe, 1);
if(ret < 0)
goto ex;
if(ret == 0) {