--- deliantra/Deliantra-Client/pango-render.c 2009/12/21 23:52:34 1.18 +++ deliantra/Deliantra-Client/pango-render.c 2018/11/18 00:52:22 1.19 @@ -62,7 +62,7 @@ size = (size + 4095) & ~4095; free (buffer); alloc = size; - buffer = malloc (size); + buffer = (char *)malloc (size); } return buffer; @@ -92,7 +92,7 @@ glyph->top = top; glyph->left = left; - glyph->bitmap = temp_buffer (width * height); + glyph->bitmap = (uint8_t *)temp_buffer (width * height); memset (glyph->bitmap, 0, glyph->stride * height); for (i = width; i--; ) @@ -212,7 +212,7 @@ glyph = PANGO_GLYPH_UNKNOWN_FLAG; } - g = _pango_opengl_font_get_cache_glyph_data (font, glyph); + g = (glyph_info *)_pango_opengl_font_get_cache_glyph_data (font, glyph); if (!g || g->generation != tc_generation) { @@ -343,12 +343,12 @@ for (l = run->item->analysis.extra_attrs; l; l = l->next) { - PangoAttribute *attr = l->data; + PangoAttribute *attr = (PangoAttribute *)l->data; switch (attr->klass->type) { case PANGO_ATTR_UNDERLINE: - renderer->underline = ((PangoAttrInt *)attr)->value; + renderer->underline = (PangoUnderline)((PangoAttrInt *)attr)->value; break; case PANGO_ATTR_STRIKETHROUGH: