From 55ee7a4c5fcab265b2fb9555e853ed0aae458ec0 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 23 Oct 2016 11:23:17 +0000 Subject: [PATCH] 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 PR: 212520 MFC after: 1 week --- sys/kern/subr_uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_uio.c b/sys/kern/subr_uio.c index 0e85c92c498..7e4f1b81949 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)