Do the cast away of unsignedness in a way that is more commprehensible.
This commit is contained in:
parent
bc08443ef1
commit
ab246934dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90896
@ -207,7 +207,7 @@ pccard_scan_cis(device_t dev, int (*fct)(struct pccard_tuple *, void *),
|
||||
u_int cksum, sum;
|
||||
int i;
|
||||
|
||||
*((u_int16_t *) & offset) =
|
||||
offset = (uint16_t)
|
||||
pccard_tuple_read_2(&tuple, 0);
|
||||
length = pccard_tuple_read_2(&tuple, 2);
|
||||
cksum = pccard_tuple_read_1(&tuple, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user