Fix warnings

This commit is contained in:
Behdad Esfahbod committed 2013-10-27 23:53:55 +01:00
1 parent c2bc818706
commit c77d1ade68
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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. */