summaryrefslogtreecommitdiffstats
path: root/libssh/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/misc.c')
-rw-r--r--libssh/misc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libssh/misc.c b/libssh/misc.c
index 2de8b56..5ab0501 100644
--- a/libssh/misc.c
+++ b/libssh/misc.c
@@ -104,16 +104,16 @@ int ssh_file_readaccess_ok(const char *file) {
return 1;
}
-u64 ntohll(u64 a) {
+uint64_t ntohll(uint64_t a) {
#ifdef WORDS_BIGENDIAN
return a;
#else
- u32 low = a & 0xffffffff;
- u32 high = a >> 32 ;
+ uint32_t low = a & 0xffffffff;
+ uint32_t high = a >> 32 ;
low = ntohl(low);
high = ntohl(high);
- return ((((u64) low) << 32) | ( high));
+ return ((((uint64_t) low) << 32) | ( high));
#endif
}