diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-06 13:54:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-06 13:54:35 +0000 |
commit | ace2c35bfb8d7eb2180569c9c0a7d92008c3718a (patch) | |
tree | 8853f905a85d406c51ad6f58557cd5206f4c068c /src/util/common_endian.c | |
parent | 22dca01af96e22856387eb6993b3d357f30ffb1c (diff) | |
download | gnunet-ace2c35bfb8d7eb2180569c9c0a7d92008c3718a.tar.gz gnunet-ace2c35bfb8d7eb2180569c9c0a7d92008c3718a.zip |
-use uint64_t instead of long long for GNUNET_ntohll/GNUNET_htonll
Diffstat (limited to 'src/util/common_endian.c')
-rw-r--r-- | src/util/common_endian.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/common_endian.c b/src/util/common_endian.c index f4641445d..34a1dbf54 100644 --- a/src/util/common_endian.c +++ b/src/util/common_endian.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #define LOG(kind,...) GNUNET_log_from (kind, "util",__VA_ARGS__) | 30 | #define LOG(kind,...) GNUNET_log_from (kind, "util",__VA_ARGS__) |
31 | 31 | ||
32 | uint64_t | 32 | uint64_t |
33 | GNUNET_ntohll (uint64_t) | 33 | GNUNET_ntohll (uint64_t n) |
34 | { | 34 | { |
35 | #if __BYTE_ORDER == __BIG_ENDIAN | 35 | #if __BYTE_ORDER == __BIG_ENDIAN |
36 | return n; | 36 | return n; |