1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winedump: Prevent "format overflow" warning.

Happens on gcc 12.2.0

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
This commit is contained in:
Fabian Maurer 2022-12-11 20:52:09 +01:00 committed by Alexandre Julliard
parent 2580127425
commit fe0bf08ac6

View file

@ -461,7 +461,7 @@ static const char* get_callconv(unsigned cc)
case CV_CALL_RESERVED: callconv = "reserved"; break;
default:
{
static char tmp[16];
static char tmp[20];
sprintf(tmp, "callconv=%x", cc);
callconv = tmp;
}