dnsapi: Increase buffer size to fix format-overflow warning.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2019-11-13 14:51:18 +01:00 committed by Alexandre Julliard
parent 3d19efae72
commit 1c232557b8
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static const char *dns_section_to_str( ns_sect section )
case ns_s_ar: return "Additional";
default:
{
static char tmp[5];
static char tmp[11];
FIXME( "unknown section: 0x%02x\n", section );
sprintf( tmp, "0x%02x", section );
return tmp;