We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbf4c4 commit b4b50b1Copy full SHA for b4b50b1
hardware/arduino/avr/cores/arduino/WString.cpp
@@ -296,14 +296,14 @@ unsigned char String::concat(unsigned char num)
296
297
unsigned char String::concat(int num)
298
{
299
- char buf[7];
+ char buf[12];
300
itoa(num, buf, 10);
301
return concat(buf, strlen(buf));
302
}
303
304
unsigned char String::concat(unsigned int num)
305
306
- char buf[6];
+ char buf[11];
307
utoa(num, buf, 10);
308
309
0 commit comments