Clarified potentially negative el_torito_set_load_size() parameter in xorriso
This commit is contained in:
parent
70e8467759
commit
e41108bccd
@ -643,7 +643,8 @@ int Xorriso_attach_boot_image(struct XorrisO *xorriso, int flag)
|
||||
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "WARNING", 0);
|
||||
load_size= 65535 * 512;
|
||||
}
|
||||
el_torito_set_load_size(bootimg, load_size / 512);
|
||||
/* The function will understand negative short as positive unsigned */
|
||||
el_torito_set_load_size(bootimg, (short) (load_size / 512));
|
||||
el_torito_set_id_string(bootimg, xorriso->boot_id_string);
|
||||
el_torito_set_selection_crit(bootimg, xorriso->boot_selection_crit);
|
||||
ret= Xorriso_set_isolinux_options(xorriso, image, 1);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2014.04.24.084041"
|
||||
#define Xorriso_timestamP "2014.04.24.084540"
|
||||
|
Loading…
Reference in New Issue
Block a user