提交 c77d1ade 编写于 作者: B Behdad Esfahbod

Fix warnings

上级 c2bc8187
......@@ -270,7 +270,7 @@ test_blob_subblob (fixture_t *fixture, gconstpointer user_data)
if (mm == HB_MEMORY_MODE_DUPLICATE) {
g_assert_cmpint (fixture->freed, ==, 1);
fixture->data = hb_blob_get_data (b, NULL);
fixture->data = (char *) hb_blob_get_data (b, NULL);
} else {
g_assert_cmpint (fixture->freed, ==, 0);
}
......
......@@ -57,7 +57,7 @@ helper_cairo_surface_write_to_ansi_stream (cairo_surface_t *surface,
cairo_surface_reference (surface);
unsigned int stride = cairo_image_surface_get_stride (surface);
const uint32_t *data = (uint32_t *) cairo_image_surface_get_data (surface);
const uint32_t *data = (uint32_t *) (void *) cairo_image_surface_get_data (surface);
/* We don't have rows to spare on the terminal window...
* Find the tight image top/bottom and only print in between. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册