Skip to content

Commit 33c37ff

Browse files
committed
Fix ESP8266 readBytes cast.
1 parent bdab18a commit 33c37ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=thinger.io
2-
version=2.3.0
2+
version=2.3.1
33
author=Alvaro Luis Bustamante <[email protected]>
44
maintainer=Thinger.io <[email protected]>
55
sentence=Arduino library for the thinger.io IoT platform.

src/ThingerWebConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class pson_spiffs_decoder : public protoson::pson_decoder{
3737

3838
protected:
3939
virtual bool read(void* buffer, size_t size){
40-
file_.readBytes((uint8_t*)buffer, size);
40+
file_.readBytes((char*)buffer, size);
4141
protoson::pson_decoder::read(buffer, size);
4242
return true;
4343
}

0 commit comments

Comments
 (0)