diff options
| author | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-29 13:33:14 +0000 |
|---|---|---|
| committer | Hartmut Brandt <harti@FreeBSD.org> | 2003-07-29 13:33:14 +0000 |
| commit | bfbb5daa0f7ea31e09430522b8bb9b88169b0fc6 (patch) | |
| tree | 7b42dfd7cb644a2edcb1edbf033e62e6edbe2d9a /sys/dev/hea | |
| parent | dd937e32bd78f922fba7ede188e17b4d61c67d78 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hea')
| -rw-r--r-- | sys/dev/hea/eni_if.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/hea/eni_if.c b/sys/dev/hea/eni_if.c index f4cd5d700b951..6355fe8a4d363 100644 --- a/sys/dev/hea/eni_if.c +++ b/sys/dev/hea/eni_if.c @@ -194,7 +194,9 @@ eni_atm_ioctl ( code, data, arg ) Eni_unit *eup = (Eni_unit *)pip; caddr_t buf = aip->air_buf_addr; struct air_vinfo_rsp *avr; - int count, len, buf_len = aip->air_buf_len; + size_t len; + size_t count; + size_t buf_len = aip->air_buf_len; int err = 0; char ifname[2*IFNAMSIZ]; @@ -264,7 +266,7 @@ eni_atm_ioctl ( code, data, arg ) /* * Record amount we're returning as vendor info... */ - if ((err = copyout(&count, &avr->avsp_len, sizeof(int))) != 0) + if ((err = copyout(&count, &avr->avsp_len, sizeof(count))) != 0) break; /* |
