user32/tests: Don't assign const variable to other const (gcc 4.7).

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
This commit is contained in:
Fabian Maurer 2022-12-12 18:45:17 +01:00 committed by Alexandre Julliard
parent 7ada8b96fb
commit 4bc6aad375

View file

@ -3123,7 +3123,8 @@ static void test_EnumDisplaySettings(void)
{
static const DWORD mode_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL |
DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY;
static const DWORD setting_fields = mode_fields | DM_POSITION;
static const DWORD setting_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL |
DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY | DM_POSITION;
CHAR primary_adapter[CCHDEVICENAME];
DPI_AWARENESS_CONTEXT ctx = NULL;
DWORD err, val, device, mode;