Xiang Xiao df48f0bb73 system/termcurses: Fix the compiler warning
tcurses_vt100.c: In function 'tcurses_vt100_move':
Error: tcurses_vt100.c:121:48: error: '%d' directive writing between 1 and 11 bytes into a region of size between 2 and 12 [-Werror=format-overflow=]
  121 | static const char *g_movecurs       = "\033[%d;%dH";  /* Move cursor to x,y */
      |                                                ^~
tcurses_vt100.c:121:39: note: directive argument in the range [-2147483647, 2147483647]
  121 | static const char *g_movecurs       = "\033[%d;%dH";  /* Move cursor to x,y */
      |                                       ^~~~~~~~~~~~~
tcurses_vt100.c:795:9: note: 'sprintf' output between 7 and 27 bytes into a destination of size 16
  795 |         sprintf(str, g_movecurs, row + 1, col + 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-07 00:58:19 +08:00
..
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-12-20 09:12:52 -06:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-06-16 09:03:06 -05:00
2021-05-23 23:57:25 +01:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2021-06-11 02:42:05 -05:00
2022-01-16 08:07:47 +01:00
2021-06-11 02:42:05 -05:00
2022-01-06 10:30:41 +08:00