Commit 4bc6aad3 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

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

parent 7ada8b96
...@@ -3123,7 +3123,8 @@ static void test_EnumDisplaySettings(void) ...@@ -3123,7 +3123,8 @@ static void test_EnumDisplaySettings(void)
{ {
static const DWORD mode_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL | static const DWORD mode_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL |
DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY; 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]; CHAR primary_adapter[CCHDEVICENAME];
DPI_AWARENESS_CONTEXT ctx = NULL; DPI_AWARENESS_CONTEXT ctx = NULL;
DWORD err, val, device, mode; DWORD err, val, device, mode;
......
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