summaryrefslogtreecommitdiff
path: root/gpt.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2010-09-25 20:39:52 -0400
committersrs5694 <srs5694@users.sourceforge.net>2010-09-25 20:39:52 -0400
commitab4b0438394df4ae6bdea86194e254d7d35fdea0 (patch)
tree4bd9e7607701e94748f49375baeb24e48c07d6ca /gpt.cc
parent5a081757ea2e32a491349544fea92826ccf739f6 (diff)
downloadsgdisk-ab4b0438394df4ae6bdea86194e254d7d35fdea0.tar.gz
Final 0.6.11 version; only trivial changes
Diffstat (limited to 'gpt.cc')
-rw-r--r--gpt.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt.cc b/gpt.cc
index 78b1557..be3373d 100644
--- a/gpt.cc
+++ b/gpt.cc
@@ -2191,7 +2191,7 @@ void GPTData::SetAlignment(uint32_t n) {
// Returns the computed alignment value.
uint32_t GPTData::ComputeAlignment(void) {
uint32_t i = 0, found, exponent = 31;
- uint64_t align = DEFAULT_ALIGNMENT;
+ uint32_t align = DEFAULT_ALIGNMENT;
exponent = (uint32_t) log2(DEFAULT_ALIGNMENT);
for (i = 0; i < numParts; i++) {