1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00
ufocia f139519061 Correct out of bounds condition and remove an unnecessary cast (#5924)
C arrays are 0 indexed, accordingly writing to array[255] actually writes to the 256th position, which is naturally out of bounds of a 255 item array. increasing the size of the array to 256 corrects that error. Also, 0 is an int and requires a cast into a char, '\0' is just a cleaner (a more syntactically pedantic) way to achieve the same end.
2019-03-27 17:27:20 -07:00
..
2015-08-10 19:22:33 +03:00
2015-07-23 01:29:12 +03:00
2015-05-04 18:31:48 +02:00
2016-02-06 13:16:00 +08:00
2016-02-06 13:16:00 +08:00
2015-05-04 18:31:48 +02:00
2018-03-12 00:13:53 -03:00
2016-03-10 07:34:36 +01:00
2015-06-02 00:11:20 +03:00