mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fix of bug#6, typo in type name
This commit is contained in:
@@ -55,12 +55,12 @@
|
|||||||
# error Need either netinet/in.h or arpa/inet.h for ntohl() and htonl()
|
# error Need either netinet/in.h or arpa/inet.h for ntohl() and htonl()
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# define be16toh(x) ((u_int16_t)ntohl((u_int16_t)(x)))
|
# define be16toh(x) ((u_int16_t)ntohl((uint16_t)(x)))
|
||||||
# define htobe16(x) ((u_int16_t)htonl((u_int16_t)(x)))
|
# define htobe16(x) ((u_int16_t)htonl((uint16_t)(x)))
|
||||||
# define be32toh(x) ((u_int32_t)ntohl((u_int32_t)(x)))
|
# define be32toh(x) ((u_int32_t)ntohl((uint32_t)(x)))
|
||||||
# define htobe32(x) ((u_int32_t)htonl((u_int32_t)(x)))
|
# define htobe32(x) ((u_int32_t)htonl((uint32_t)(x)))
|
||||||
# define be64toh(x) ((u_int64_t)ntohl((u_int64_t)(x)))
|
# define be64toh(x) ((u_int64_t)ntohl((uint64_t)(x)))
|
||||||
# define htobe64(x) ((u_int64_t)htonl((u_int64_t)(x)))
|
# define htobe64(x) ((u_int64_t)htonl((uint64_t)(x)))
|
||||||
# endif
|
# endif
|
||||||
# endif /* HAVE_SYS_ENDIAN_H */
|
# endif /* HAVE_SYS_ENDIAN_H */
|
||||||
#endif /* HAVE_ENDIAN_H */
|
#endif /* HAVE_ENDIAN_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user