diff options
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r-- | util-linux/fdisk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index 2088e6c67..891380395 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
@@ -954,7 +954,7 @@ static int xbsd_part_index; | |||
954 | #endif | 954 | #endif |
955 | 955 | ||
956 | #if defined (__alpha__) | 956 | #if defined (__alpha__) |
957 | /* We access this through a u_int64_t * when checksumming */ | 957 | /* We access this through a uint64_t * when checksumming */ |
958 | static char disklabelbuffer[BSD_BBSIZE] __attribute__((aligned(8))); | 958 | static char disklabelbuffer[BSD_BBSIZE] __attribute__((aligned(8))); |
959 | #else | 959 | #else |
960 | static char disklabelbuffer[BSD_BBSIZE]; | 960 | static char disklabelbuffer[BSD_BBSIZE]; |
@@ -1712,16 +1712,16 @@ xbsd_link_part (void) | |||
1712 | #if defined (__alpha__) | 1712 | #if defined (__alpha__) |
1713 | 1713 | ||
1714 | #if !defined(__GLIBC__) | 1714 | #if !defined(__GLIBC__) |
1715 | typedef unsigned long long u_int64_t; | 1715 | typedef unsigned long long uint64_t; |
1716 | #endif | 1716 | #endif |
1717 | 1717 | ||
1718 | static void | 1718 | static void |
1719 | alpha_bootblock_checksum (char *boot) | 1719 | alpha_bootblock_checksum (char *boot) |
1720 | { | 1720 | { |
1721 | u_int64_t *dp, sum; | 1721 | uint64_t *dp, sum; |
1722 | int i; | 1722 | int i; |
1723 | 1723 | ||
1724 | dp = (u_int64_t *)boot; | 1724 | dp = (uint64_t *)boot; |
1725 | sum = 0; | 1725 | sum = 0; |
1726 | for (i = 0; i < 63; i++) | 1726 | for (i = 0; i < 63; i++) |
1727 | sum += dp[i]; | 1727 | sum += dp[i]; |