summaryrefslogtreecommitdiff
path: root/lib/util/byteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/byteswap.h')
-rw-r--r--lib/util/byteswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/byteswap.h b/lib/util/byteswap.h
index 99981a6..13fbc23 100644
--- a/lib/util/byteswap.h
+++ b/lib/util/byteswap.h
@@ -31,7 +31,7 @@ static inline uint32_t ypc__swap32(uint32_t v) {
}
-static inline uint32_t ypc__swap64(uint64_t v) {
+static inline uint64_t ypc__swap64(uint64_t v) {
#if defined(_MSC_VER)
return _byteswap_uint64(v);
#elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)