Commit 39685a8b authored by Hiroyuki Ikezoe's avatar Hiroyuki Ikezoe

fix compiler warnings.

parent 0774ad40
......@@ -808,7 +808,7 @@ rsvg_entity_decl (void *data, const xmlChar * name, int type,
resolvedPublicId = xmlBuildRelativeURI (publicId, (xmlChar*) rsvg_handle_get_base_uri (ctx));
if (type == XML_EXTERNAL_PARAMETER_ENTITY && !content) {
GByteArray *arr;
GByteArray *arr = NULL;
if (systemId)
arr = _rsvg_acquire_xlink_href_resource ((const char *) systemId,
......
......@@ -81,7 +81,7 @@ rsvg_ctx_free_helper (gpointer key, gpointer value, gpointer user_data)
xmlFree (entval->orig);
xmlFree (entval);
#else
xmlFreeNode(entval);
xmlFreeNode((xmlNode *) entval);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment