Use sized cast matching the sized pointer.
This commit is contained in:
parent
f54a02fb2b
commit
a12b1b124a
@ -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…
x
Reference in New Issue
Block a user