1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

winevdm: Use char type for max length assignment.

This commit is contained in:
Jacek Caban 2023-12-09 12:00:47 +01:00 committed by Alexandre Julliard
parent 6d0fcf64d2
commit df0726e359

View File

@ -359,7 +359,7 @@ static char *build_command_line( char **argv )
return NULL;
p = cmd_line;
*p++ = (len < 256) ? len : 255;
*p++ = (len < 256) ? len : '\xff';
for (arg = argv; *arg; arg++)
{
BOOL has_space,has_quote;