Commit fe0bf08a authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

winedump: Prevent "format overflow" warning.

Happens on gcc 12.2.0 Signed-off-by: 's avatarFabian Maurer <dark.shadow4@web.de>
parent 25801274
...@@ -461,7 +461,7 @@ static const char* get_callconv(unsigned cc) ...@@ -461,7 +461,7 @@ static const char* get_callconv(unsigned cc)
case CV_CALL_RESERVED: callconv = "reserved"; break; case CV_CALL_RESERVED: callconv = "reserved"; break;
default: default:
{ {
static char tmp[16]; static char tmp[20];
sprintf(tmp, "callconv=%x", cc); sprintf(tmp, "callconv=%x", cc);
callconv = tmp; callconv = tmp;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment