Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
parted
fix-improper-data-conversion.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-improper-data-conversion.patch of Package parted
diff -up ./libparted/labels/gpt.c.orig ./libparted/labels/gpt.c --- ./libparted/labels/gpt.c.orig 2008-10-20 10:05:25.000000000 +0200 +++ ./libparted/labels/gpt.c 2008-10-20 10:35:34.000000000 +0200 @@ -674,11 +674,10 @@ _parse_header (PedDisk* disk, GuidPartit parted invocation. */ - last_usable_if_grown - = PED_CPU_TO_LE64 (disk->dev->length - 2 - + last_usable_if_grown = disk->dev->length - 2 - ((PedSector)(PED_LE32_TO_CPU(gpt->NumberOfPartitionEntries)) * (PedSector)(PED_LE32_TO_CPU(gpt->SizeOfPartitionEntry)) / - disk->dev->sector_size)); + disk->dev->sector_size); last_usable_min_default = disk->dev->length - 2 - GPT_DEFAULT_PARTITION_ENTRY_ARRAY_SIZE / disk->dev->sector_size;
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