diff options
Diffstat (limited to 'pixman/test/fetch-test.c')
-rw-r--r-- | pixman/test/fetch-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pixman/test/fetch-test.c b/pixman/test/fetch-test.c index c7b32ff3b..2ca16ddbf 100644 --- a/pixman/test/fetch-test.c +++ b/pixman/test/fetch-test.c @@ -6,7 +6,7 @@ #define SIZE 1024 -static const pixman_indexed_t mono_palette = +static pixman_indexed_t mono_palette = { .rgba = { 0x00000000, 0x00ffffff }, }; @@ -21,7 +21,7 @@ typedef struct { pixman_indexed_t *indexed; } testcase_t; -static const testcase_t testcases[] = +static testcase_t testcases[] = { { .format = PIXMAN_a8r8g8b8, @@ -100,7 +100,7 @@ static const testcase_t testcases[] = }, }; -const int n_test_cases = sizeof(testcases)/sizeof(testcases[0]); +int n_test_cases = sizeof(testcases)/sizeof(testcases[0]); static uint32_t |