fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libebook / ubsan.patch
blob0a3ead259ea72eebcb3812084a3590d9667bdf4a
1 --- src/lib/LRFCollector.cpp
2 +++ src/lib/LRFCollector.cpp
3 @@ -50,7 +50,7 @@
5 assert(0 == bg.a);
7 - const double a = fg.a;
8 + const double a = fg.a / 255.0;
10 const double r = (1 - a) * bg.r + a * fg.r;
11 const double g = (1 - a) * bg.g + a * fg.g;