1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

core: fix compiler warnings on calls to snprintf

This commit is contained in:
Sébastien Helleu
2018-07-13 21:24:40 +02:00
parent a8faa69610
commit a205886d7a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ gui_main_signal_sigwinch ()
void
gui_main_handle_quit_signals ()
{
char str_signal[64], str_weechat_signal[64];
char str_signal[32], str_weechat_signal[64];
int rc;
switch (weechat_quit_signal)
+1 -1
View File
@@ -240,7 +240,7 @@ const char *
gui_color_get_custom (const char *color_name)
{
int fg, bg, fg_term, bg_term, term_color;
static char color[32][32];
static char color[32][96];
static int index_color = 0;
char color_fg[32], color_bg[32];
char *pos_delim, *str_fg, *pos_bg, *error, *color_attr;