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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user