summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-10-30 11:45:01 +0000
committerkib <kib@FreeBSD.org>2016-10-30 11:45:01 +0000
commit638c7ab0f9408a4e5a7f3cbd21ae898c1590d6a7 (patch)
treedec4b0f1a1365769a36db7c57cefccb3bfce67eb /sys/kern
parenta9c81c092b4427bf87ba0ffbb0cfd599b7d6ccfe (diff)
downloadFreeBSD-src-638c7ab0f9408a4e5a7f3cbd21ae898c1590d6a7.zip
FreeBSD-src-638c7ab0f9408a4e5a7f3cbd21ae898c1590d6a7.tar.gz
MFC r307821:
Use proper type for local variable. PR: 212520
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_uio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c
index 8141958..a335f6d 100644
--- a/sys/kern/subr_uio.c
+++ b/sys/kern/subr_uio.c
@@ -534,7 +534,7 @@ fueword32(volatile const void *base, int32_t *val)
int
fueword64(volatile const void *base, int64_t *val)
{
- int32_t res;
+ int64_t res;
res = fuword64(base);
if (res == -1)
OpenPOWER on IntegriCloud