summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-04-04 16:59:39 +0000
committerphk <phk@FreeBSD.org>2003-04-04 16:59:39 +0000
commit01bed5d97bf4b3317c245d345ff0713026246566 (patch)
tree0677955ed4da3878e1c24b020a52c899eaebeba4 /lib/libdisk
parent7d626e64c9ec6c0640b4183eae4caa5d6992050c (diff)
downloadFreeBSD-src-01bed5d97bf4b3317c245d345ff0713026246566.zip
FreeBSD-src-01bed5d97bf4b3317c245d345ff0713026246566.tar.gz
Use sized cast matching the sized pointer.
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/write_alpha_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/write_alpha_disk.c b/lib/libdisk/write_alpha_disk.c
index 174bc8c..1e76c7c 100644
--- a/lib/libdisk/write_alpha_disk.c
+++ b/lib/libdisk/write_alpha_disk.c
@@ -64,7 +64,7 @@ Write_Disk(const struct disk *d1)
/*
* Tell SRM where the bootstrap is.
*/
- lp = (u_long *)buf;
+ lp = (uint64_t *)buf;
lp[60] = (BBSIZE - 512) / 512; /* Length */
lp[61] = 1; /* Start */
lp[62] = 0; /* Flags */
OpenPOWER on IntegriCloud