mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Issue #2512 - Part 3 - Fix new failures with GCC 14.
This commit is contained in:
parent
0d784d5a50
commit
09347d9cc6
2 changed files with 2 additions and 2 deletions
|
|
@ -1578,7 +1578,7 @@ _transform_glyph_bitmap (cairo_matrix_t * shape,
|
|||
if (unlikely (status))
|
||||
return status;
|
||||
|
||||
if (cairo_image_surface_get_format (*surface) == CAIRO_FORMAT_ARGB32 &&
|
||||
if (cairo_image_surface_get_format ((cairo_surface_t *)*surface) == CAIRO_FORMAT_ARGB32 &&
|
||||
!pixman_image_get_component_alpha ((*surface)->pixman_image))
|
||||
image = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1428,7 +1428,7 @@ _cairo_surface_acquire_source_image (cairo_surface_t *surface,
|
|||
acquire_source_image_ptr[i] = (char*)surface->backend->acquire_source_image;
|
||||
}
|
||||
crasher = NULL;
|
||||
*crasher = acquire_source_image_ptr[5];
|
||||
*crasher = (char)acquire_source_image_ptr[5];
|
||||
}
|
||||
_cairo_debug_check_image_surface_is_defined (&(*image_out)->base);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue