aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-25 09:56:52 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-25 09:56:52 -0700
commitdd693422189801404514ef6f118256ec8f19728a (patch)
tree6d8989b18bd2b4a7f3b4d4f4b341059851ebb0a7 /include
parentd383b0f7e79220966e65b55342ec37f3fbba0be6 (diff)
parentff60024eaf67dea0faf899f80c099460d87fa3ad (diff)
Merge github.com:grpc/grpc into clang_format
Diffstat (limited to 'include')
-rw-r--r--include/grpc++/impl/call.h6
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_;
};