Module: wine Branch: master Commit: df0726e3591b068815d030141e59199ec3fafa66 URL: https://gitlab.winehq.org/wine/wine/-/commit/df0726e3591b068815d030141e59199... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Sat Dec 9 12:00:47 2023 +0100 winevdm: Use char type for max length assignment. --- programs/winevdm/winevdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/winevdm/winevdm.c b/programs/winevdm/winevdm.c index 5b5f72db253..87c25f0d191 100644 --- a/programs/winevdm/winevdm.c +++ b/programs/winevdm/winevdm.c @@ -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;