Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
cdrtools
large_mac_iso.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File large_mac_iso.patch of Package cdrtools
Index: cdrtools-3.02/mkisofs/mac_label.c =================================================================== --- cdrtools-3.02.orig/mkisofs/mac_label.c +++ cdrtools-3.02/mkisofs/mac_label.c @@ -67,8 +67,8 @@ gen_prepboot_label(ml) { struct directory_entry *de; int i = 0; - int block; - int size; + unsigned block; + unsigned size; MacLabel *mac_label = (MacLabel *) ml; if (verbose > 1) { @@ -98,7 +98,7 @@ gen_prepboot_label(ml) mac_label->image[i].startSect[2] = 0; mac_label->image[i].startSect[3] = 0; - size = (last_extent - session_start) * 2048 / 512; + size = (unsigned)(last_extent - session_start) * (2048 / 512); mac_label->image[i].size[0] = size & 0xff; mac_label->image[i].size[1] = (size >> 8) & 0xff; mac_label->image[i].size[2] = (size >> 16) & 0xff; @@ -115,7 +115,7 @@ gen_prepboot_label(ml) /* NOTREACHED */ } /* get size and block in 512-byte blocks */ - block = get_733(de->isorec.extent) * 2048 / 512; + block = get_733(de->isorec.extent) * (2048 / 512); size = get_733(de->isorec.size) / 512 + 1; fprintf(stderr, _("PReP boot partition %d is \"%s\"\n"), i + 1, prep_boot_image[i - use_chrp_boot]);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor