Use sized cast matching the sized pointer.

This commit is contained in:
Poul-Henning Kamp 2003-04-04 16:59:39 +00:00
parent f54a02fb2b
commit a12b1b124a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113085

View File

@ -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 */