librb: Fix GCC 8 warning; 640 bytes should be enough

This commit is contained in:
Simon Arlott 2019-09-15 10:25:25 +01:00
parent e89a399f94
commit c4c1bf3b79
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -188,7 +188,7 @@ extern const char *librb_serno;
const char *
rb_lib_version(void)
{
static char version_info[512];
static char version_info[640];
char ssl_info[512];
rb_get_ssl_info(ssl_info, sizeof(ssl_info));
snprintf(version_info, sizeof(version_info), "librb version: %s - %s", librb_serno, ssl_info);