summaryrefslogtreecommitdiff
path: root/gpt.cc
diff options
context:
space:
mode:
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++) {