Use sized cast matching the sized pointer.
This commit is contained in:
parent
f54a02fb2b
commit
a12b1b124a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113085
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user