Sumit Garg 635868583d examples: gcc8 fixes for -Werror=format-truncation
Fixes below issues:
tm1637.cxx:69:29: error: "%2d%02d" directive output may be truncated writing between 5 and 15 bytes into a destination of size 5 [-Werror=format-truncation=]
          snprintf(myTime, 5, "%2d%02d", (hour + timezone + 24) % 24, min);

jhd1313m1.c:65:49: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Werror=format-truncation=]
          snprintf(str, sizeof(str), "Hello World %d", ndx);

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
2018-08-09 18:18:37 +05:30
..
2017-04-04 14:34:11 -07:00
2017-03-30 16:43:35 -06:00
2017-03-10 17:00:50 -07:00
2017-03-07 13:16:24 -07:00
2016-10-28 16:48:53 -06:00
2017-01-20 12:02:30 -07:00
2017-01-30 12:06:32 -07:00
2017-01-25 17:42:38 -07:00
2017-05-31 14:39:07 -07:00
2018-03-30 09:58:06 -07:00
2016-10-18 17:04:50 -06:00
2016-10-18 17:04:50 -06:00
2017-01-31 13:08:20 -07:00
2017-04-03 09:56:54 -07:00
2017-01-19 13:54:47 -07:00
2017-01-26 15:13:01 -07:00