winmm/tests: Use a string literal instead of a char array.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-11-18 00:06:39 +01:00 committed by Alexandre Julliard
parent 283c1be731
commit da0b133655
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ static void test_openclose(HWND hwnd)
MCIDEVICEID wDeviceID;
MCI_PARMS_UNION parm;
MCIERROR err;
char drive[] = {'a',':','\\','X','\0'};
char drive[] = "a:\\X";
if (ok_open == MCIERR_CANNOT_LOAD_DRIVER) {
/* todo_wine Every open below should yield this same error. */
skip("CD-ROM device likely not installed or disabled.\n");