ws2ipdef.h: Remove unnecessary cast
Frédéric Delanoy
frederic.delanoy at gmail.com
Fri Feb 14 03:58:26 CST 2014
---
include/ws2ipdef.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/ws2ipdef.h b/include/ws2ipdef.h
index ea8db3d..212453f 100644
--- a/include/ws2ipdef.h
+++ b/include/ws2ipdef.h
@@ -267,14 +267,14 @@ extern "C" {
static inline BOOL WS(IN6_IS_ADDR_LOOPBACK) ( const IN6_ADDR *a )
{
- return (BOOL)((a->s6_words[0] == 0) &&
- (a->s6_words[1] == 0) &&
- (a->s6_words[2] == 0) &&
- (a->s6_words[3] == 0) &&
- (a->s6_words[4] == 0) &&
- (a->s6_words[5] == 0) &&
- (a->s6_words[6] == 0) &&
- (a->s6_words[7] == 0x0100));
+ return ((a->s6_words[0] == 0) &&
+ (a->s6_words[1] == 0) &&
+ (a->s6_words[2] == 0) &&
+ (a->s6_words[3] == 0) &&
+ (a->s6_words[4] == 0) &&
+ (a->s6_words[5] == 0) &&
+ (a->s6_words[6] == 0) &&
+ (a->s6_words[7] == 0x0100));
}
#ifdef __cplusplus
--
1.8.5.2
More information about the wine-patches
mailing list