From b6f4a5d0eedc40e71ddefc30a9c41194ead4f899 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 3 Mar 2012 21:40:27 +0100 Subject: s3: Fix some && vs & warnings Signed-off-by: Andreas Schneider Autobuild-User: Andreas Schneider Autobuild-Date: Sun Mar 4 13:31:25 CET 2012 on sn-devel-104 --- source3/rpc_server/epmapper/srv_epmapper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/rpc_server') diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c index c492580258..58f2220264 100644 --- a/source3/rpc_server/epmapper/srv_epmapper.c +++ b/source3/rpc_server/epmapper/srv_epmapper.c @@ -743,7 +743,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p, if (r->in.interface_id->vers_major == (eps->e[i].syntax_id.if_version >> 16) && r->in.interface_id->vers_minor <= - (eps->e[i].syntax_id.if_version && 0xFFFF)) { + (eps->e[i].syntax_id.if_version & 0xFFFF)) { match = true; } break; @@ -756,7 +756,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p, if (r->in.interface_id->vers_major == (eps->e[i].syntax_id.if_version >> 16) && r->in.interface_id->vers_minor == - (eps->e[i].syntax_id.if_version && 0xFFFF)) { + (eps->e[i].syntax_id.if_version & 0xFFFF)) { match = true; } match = true; @@ -789,7 +789,7 @@ error_status_t _epm_Lookup(struct pipes_struct *p, if (r->in.interface_id->vers_major == (eps->e[i].syntax_id.if_version >> 16) && r->in.interface_id->vers_minor >= - (eps->e[i].syntax_id.if_version && 0xFFFF)) { + (eps->e[i].syntax_id.if_version & 0xFFFF)) { match = true; } } -- cgit