=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: rpcrt4: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Tue Oct 1 14:54:26 CDT 2013
Module: wine
Branch: master
Commit: c91f39055ec9a6cbf22e35e2d2de62a86b6da7ff
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c91f39055ec9a6cbf22e35e2d2de62a86b6da7ff
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Fri Sep 27 14:21:39 2013 +0200
rpcrt4: Use BOOL type where appropriate.
---
dlls/rpcrt4/rpc_message.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c
index 1c4ffd6..57781ce 100644
--- a/dlls/rpcrt4/rpc_message.c
+++ b/dlls/rpcrt4/rpc_message.c
@@ -76,20 +76,20 @@ DWORD RPCRT4_GetHeaderSize(const RpcPktHdr *Header)
return ret;
}
-static int packet_has_body(const RpcPktHdr *Header)
+static BOOL packet_has_body(const RpcPktHdr *Header)
{
return (Header->common.ptype == PKT_FAULT) ||
(Header->common.ptype == PKT_REQUEST) ||
(Header->common.ptype == PKT_RESPONSE);
}
-static int packet_has_auth_verifier(const RpcPktHdr *Header)
+static BOOL packet_has_auth_verifier(const RpcPktHdr *Header)
{
return !(Header->common.ptype == PKT_BIND_NACK) &&
!(Header->common.ptype == PKT_SHUTDOWN);
}
-static int packet_does_auth_negotiation(const RpcPktHdr *Header)
+static BOOL packet_does_auth_negotiation(const RpcPktHdr *Header)
{
switch (Header->common.ptype)
{
More information about the wine-cvs
mailing list