aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support/slice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc++/support/slice.h')
-rw-r--r--include/grpc++/support/slice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/support/slice.h b/include/grpc++/support/slice.h
index 456379cc5b..be316e7c94 100644
--- a/include/grpc++/support/slice.h
+++ b/include/grpc++/support/slice.h
@@ -72,10 +72,10 @@ class Slice GRPC_FINAL {
size_t size() const { return GPR_SLICE_LENGTH(slice_); }
/// Raw pointer to the beginning (first element) of the slice.
- const gpr_uint8* begin() const { return GPR_SLICE_START_PTR(slice_); }
+ const uint8_t* begin() const { return GPR_SLICE_START_PTR(slice_); }
/// Raw pointer to the end (one byte \em past the last element) of the slice.
- const gpr_uint8* end() const { return GPR_SLICE_END_PTR(slice_); }
+ const uint8_t* end() const { return GPR_SLICE_END_PTR(slice_); }
private:
friend class ByteBuffer;