diff options
| author | wiz <wiz@NetBSD.org> | 2012-04-08 20:41:18 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2012-04-08 20:41:18 +0000 |
| commit | 545a4248f86da35e333b07aed3fce1de51d783f6 (patch) | |
| tree | e4f2a93f7f2ca1841626fe5fe7c6c81414401998 /dist | |
| parent | a142017167b646658b5b7c08f7133fcd1aea0bcd (diff) | |
Cast argument to unsigned long for i386.
Diffstat (limited to 'dist')
| -rw-r--r-- | dist/pdisk/pdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/pdisk/pdisk.c b/dist/pdisk/pdisk.c index 6214c635e2c..a9aa92d0b18 100644 --- a/dist/pdisk/pdisk.c +++ b/dist/pdisk/pdisk.c @@ -169,12 +169,12 @@ main(int argc, char **argv) if (sizeof(DPME) != PBLOCK_SIZE) { fatal(-1, "Size of partition map entry (%lu) " "is not equal to block size (%d)\n", - sizeof(DPME), PBLOCK_SIZE); + (unsigned long)sizeof(DPME), PBLOCK_SIZE); } if (sizeof(Block0) != PBLOCK_SIZE) { fatal(-1, "Size of block zero structure (%lu) " "is not equal to block size (%d)\n", - sizeof(Block0), PBLOCK_SIZE); + (unsigned long)sizeof(Block0), PBLOCK_SIZE); } if (strcmp(VERSION, get_version_string()) != 0) { fatal(-1, "Version string static form (%s) does not match dynamic form (%s)\n", |
