/*
- * $Id: ntlmauth.h,v 1.7 2001/10/17 13:30:49 hno Exp $
+ * $Id: ntlmauth.h,v 1.8 2001/11/13 21:12:36 hno Exp $
*
* * * * * * * * Legal stuff * * * * * * *
*
#define bswap16(x) bswap_16(x)
#define bswap32(x) bswap_32(x)
#else /* HAVE_BISTWAP_H */
-#define bswap16(x) (((((uint16_t)x) >> 8) & 0xff) | ((((uint16_t)x) & 0xff) << 8))
+#define bswap16(x) (((((u_int16_t)x) >> 8) & 0xff) | ((((u_int16_t)x) & 0xff) << 8))
#define bswap32(x) \
- (((((uint32_t)x) & 0xff000000) >> 24) | ((((uint32_t)x) & 0x00ff0000) >> 8) | \
- ((((uint32_t)x) & 0x0000ff00) << 8) | ((((uint32_t)x) & 0x000000ff) << 24))
+ (((((u_int32_t)x) & 0xff000000) >> 24) | ((((u_int32_t)x) & 0x00ff0000) >> 8) | \
+ ((((u_int32_t)x) & 0x0000ff00) << 8) | ((((u_int32_t)x) & 0x000000ff) << 24))
#endif /* HAVE_BITSWAP_H */
/* Used internally. Microsoft seems to think this is right, I believe them.