diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2011-03-15 23:53:31 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2011-03-15 23:53:31 -0400 |
commit | 01f7f08624f0c942001977415214a578621f6495 (patch) | |
tree | 475731ab0492aee501298e01559dc804658c0275 /sgdisk.cc | |
parent | 9a46b042c57144c26a67781d335e6ba4128382d2 (diff) | |
download | sgdisk-01f7f08624f0c942001977415214a578621f6495.tar.gz |
Second patchset from Florian & a few other small changes
Diffstat (limited to 'sgdisk.cc')
-rw-r--r-- | sgdisk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -266,8 +266,8 @@ int main(int argc, char *argv[]) { partNum = theGPT.FindFirstFreePart(); low = theGPT.FindFirstInLargest(); high = theGPT.FindLastInFree(low); - startSector = SIToInt(GetString(newPartInfo, 2), sSize, low, high, low); - endSector = SIToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); + startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low); + endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high); if (theGPT.CreatePartition(partNum, startSector, endSector)) { saveData = 1; } else { |