1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

core: increase buffer size in function gui_bar_item_time_cb

This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
This commit is contained in:
Sébastien Helleu
2020-11-22 14:56:55 +01:00
parent 070eb3f7b0
commit a8dd0e1337
+1 -1
View File
@@ -990,7 +990,7 @@ gui_bar_item_time_cb (const void *pointer, void *data,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char text_time[128], text_time2[128];
char text_time[128], text_time2[256];
/* make C compiler happy */
(void) pointer;