]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/util.h
Various fixes
[netatalk.git] / include / atalk / util.h
index 79f6db2b50805e7e45724c4852d130158ea674a1..811c0ee661a6af7316b51a045034fd654b464447 100644 (file)
@@ -52,8 +52,8 @@
 #define hton64(x)       (x)
 #define ntoh64(x)       (x)
 #else /* BYTE_ORDER == BIG_ENDIAN */
-#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
-                         (u_int64_t) ((htonl(x) & 0xffffffffLL) << 32))
+#define hton64(x)       ((uint64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
+                         (uint64_t) ((htonl(x) & 0xffffffffLL) << 32))
 #define ntoh64(x)       (hton64(x))
 #endif /* BYTE_ORDER == BIG_ENDIAN */