bitops.h: sextract64() return type should be int64_t, not uint64_t
commit4f9950520a115acf9c0a209f0befa45758ad0215
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Mar 2015 13:21:06 +0000 (11 13:21 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 11 Mar 2015 13:21:06 +0000 (11 13:21 +0000)
tree49a311b1a3f68942a4fb0a095c10fe227661b219
parent83d0cf895f9b1c35fb56d3c93fd3504bc1ac8344
bitops.h: sextract64() return type should be int64_t, not uint64_t

The documentation for sextract64() claims that the return type is
an int64_t, but the code itself disagrees. Fix the return type to
conform to the documentation and to bring it into line with
sextract32(), which returns int32_t.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1423231328-15662-1-git-send-email-peter.maydell@linaro.org
include/qemu/bitops.h