Do the cast away of unsignedness in a way that is more commprehensible.

This commit is contained in:
Warner Losh 2002-02-19 05:01:43 +00:00
parent bc08443ef1
commit ab246934dc

View File

@ -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);