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:
parent
2580127425
commit
fe0bf08ac6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue