mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-27 23:00:24 +01:00
image: Quell warning about signed/unsigned int comparison.
Restore (int) cast that was dropped in e7e1ac23.
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
5271f31991
commit
b45c79ff8a
1 changed files with 1 additions and 1 deletions
|
|
@ -1548,7 +1548,7 @@ typedef struct _cairo_image_span_renderer {
|
|||
} mask;
|
||||
} u;
|
||||
uint8_t _buf[0];
|
||||
#define SZ_BUF (sizeof (cairo_abstract_span_renderer_t) - sizeof (cairo_image_span_renderer_t))
|
||||
#define SZ_BUF (int)(sizeof (cairo_abstract_span_renderer_t) - sizeof (cairo_image_span_renderer_t))
|
||||
} cairo_image_span_renderer_t;
|
||||
COMPILE_TIME_ASSERT (sizeof (cairo_image_span_renderer_t) <= sizeof (cairo_abstract_span_renderer_t));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue