diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-10-23 11:23:17 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-10-23 11:23:17 +0000 |
commit | 55ee7a4c5fcab265b2fb9555e853ed0aae458ec0 (patch) | |
tree | efecf7f7dc3cf20a1c1d6329f749c5cb6ba5166e /sys/kern/subr_uio.c | |
parent | d24ac5fb28cfd201ce1e701bbb511e1c277b5a98 (diff) | |
download | src-55ee7a4c5fcab265b2fb9555e853ed0aae458ec0.tar.gz src-55ee7a4c5fcab265b2fb9555e853ed0aae458ec0.zip |
In the fueword64(9) wrapper for architectures which do not implemented
native fueword64(9) still, use proper type for local where fuword64()
result is stored.
Note that fueword64() is unused in the tree.
Submitted by: Chunhui He <hchunhui@mail.ustc.edu.cn>
PR: 212520
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=307821
Diffstat (limited to 'sys/kern/subr_uio.c')
-rw-r--r-- | sys/kern/subr_uio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index 0e85c92c4980..7e4f1b81949b 100644 --- a/sys/kern/subr_uio.c +++ b/sys/kern/subr_uio.c @@ -532,7 +532,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) |