From 04456843cdc05935abecb3c0b607d6053d27d865 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Wed, 23 Sep 2015 10:07:16 -0700 Subject: Windows fixes --- include/grpc++/impl/call.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/grpc++/impl/call.h') diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index fca5603047..885a1075ad 100644 --- a/include/grpc++/impl/call.h +++ b/include/grpc++/impl/call.h @@ -126,11 +126,11 @@ class WriteOptions { } private: - void SetBit(const gpr_int32 mask) { flags_ |= mask; } + void SetBit(const gpr_uint32 mask) { flags_ |= mask; } - void ClearBit(const gpr_int32 mask) { flags_ &= ~mask; } + void ClearBit(const gpr_uint32 mask) { flags_ &= ~mask; } - bool GetBit(const gpr_int32 mask) const { return flags_ & mask; } + bool GetBit(const gpr_uint32 mask) const { return (flags_ & mask) != 0; } gpr_uint32 flags_; }; -- cgit v1.2.3