diff options
author | imp <imp@FreeBSD.org> | 2002-02-19 05:01:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-19 05:01:43 +0000 |
commit | de7d451acaca2e6dec3491c30bc089b43f26bbab (patch) | |
tree | 6743d1b92b27b7f1564cb8da71913c544743c420 | |
parent | cb1f971d38eb5c0a1668d793ccb74fbe607f53d0 (diff) | |
download | FreeBSD-src-de7d451acaca2e6dec3491c30bc089b43f26bbab.zip FreeBSD-src-de7d451acaca2e6dec3491c30bc089b43f26bbab.tar.gz |
Do the cast away of unsignedness in a way that is more commprehensible.
-rw-r--r-- | sys/dev/pccard/pccard_cis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c index f8af7c9..957c66c 100644 --- a/sys/dev/pccard/pccard_cis.c +++ b/sys/dev/pccard/pccard_cis.c @@ -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); |