diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-25 09:56:52 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-25 09:56:52 -0700 |
commit | dd693422189801404514ef6f118256ec8f19728a (patch) | |
tree | 6d8989b18bd2b4a7f3b4d4f4b341059851ebb0a7 /include/grpc++/impl/call.h | |
parent | d383b0f7e79220966e65b55342ec37f3fbba0be6 (diff) | |
parent | ff60024eaf67dea0faf899f80c099460d87fa3ad (diff) |
Merge github.com:grpc/grpc into clang_format
Diffstat (limited to 'include/grpc++/impl/call.h')
-rw-r--r-- | include/grpc++/impl/call.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h index 4602c9cdb0..df45d6f485 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_; }; |