summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pixman/pixman-access.c2
-rw-r--r--test/blitters-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-access.c b/pixman/pixman-access.c
index 809cc38..9f2af26 100644
--- a/pixman/pixman-access.c
+++ b/pixman/pixman-access.c
@@ -2601,7 +2601,7 @@ store_scanline_g1 (bits_image_t * image,
#else
mask = 1 << ((i + x) & 0x1f);
#endif
- v = RGB24_TO_ENTRY_Y (indexed, values[i]) ? mask : 0;
+ v = RGB24_TO_ENTRY_Y (indexed, values[i]) & 0x1 ? mask : 0;
WRITE (image, pixel, (READ (image, pixel) & ~mask) | v);
}
diff --git a/test/blitters-test.c b/test/blitters-test.c
index 673e52f..29c2515 100644
--- a/test/blitters-test.c
+++ b/test/blitters-test.c
@@ -426,6 +426,6 @@ main (int argc, const char *argv[])
{
initialize_palette();
- return fuzzer_test_main("blitters", 2000000, 0x2CFE57ED,
+ return fuzzer_test_main("blitters", 2000000, 0xF3A16994,
test_composite, argc, argv);
}