diff options
author | archshift <admin@archshift.com> | 2014-07-26 12:42:42 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-26 12:42:42 +0200 |
commit | 1595ef73dcd6f6a525744185bd24343c3f8050c8 (patch) | |
tree | e0fb726057347d3e24a6470a2fc2609231127aac | |
parent | Removed the new old-style-cast warning from error treatment (diff) | |
download | cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.gz cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.bz2 cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.lz cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.xz cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.zst cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.zip |
-rw-r--r-- | src/Endianness.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Endianness.h b/src/Endianness.h index 5997086e0..9aeb44986 100644 --- a/src/Endianness.h +++ b/src/Endianness.h @@ -1,6 +1,7 @@ #pragma once +#undef ntohll #define ntohll(x) ((((UInt64)ntohl((u_long)x)) << 32) + ntohl(x >> 32)) |