diff options
Diffstat (limited to 'include/grpc++/support')
-rw-r--r-- | include/grpc++/support/async_stream.h | 2 | ||||
-rw-r--r-- | include/grpc++/support/slice.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/support/async_stream.h b/include/grpc++/support/async_stream.h index 823fcd2e8e..0c96352ccd 100644 --- a/include/grpc++/support/async_stream.h +++ b/include/grpc++/support/async_stream.h @@ -1,6 +1,6 @@ /* * - * Copyright 2015, Google Inc. + * Copyright 2015-2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without 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; |