diff --git a/cores/esp8266/cbuf.h b/cores/esp8266/cbuf.h index 087e7200b..02b612c5c 100644 --- a/cores/esp8266/cbuf.h +++ b/cores/esp8266/cbuf.h @@ -113,9 +113,9 @@ class cbuf { return (ptr == _bufend) ? _buf : ptr; } - size_t _size; + const size_t _size; char* _buf; - char* _bufend; + const char* const _bufend; char* _begin; char* _end; };