From: Andrea Zagli Date: Thu, 24 Jun 2010 18:25:33 +0000 (+0200) Subject: Bugfixes. X-Git-Tag: 0.0.1~17 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=8a1919ce806c5a762e674de0dfbad17ad383af87;p=zakautho%2Flibzakautho Bugfixes. --- diff --git a/src/resource_interface.c b/src/resource_interface.c index fd873f7..b2d15f8 100644 --- a/src/resource_interface.c +++ b/src/resource_interface.c @@ -45,7 +45,7 @@ const gchar if (iface->get_resource_id) { - ret = (* iface->get_resource_id) (iresource); + ret = (gchar *)(* iface->get_resource_id) (iresource); } return ret; diff --git a/src/role_interface.c b/src/role_interface.c index e81f7d9..815b417 100644 --- a/src/role_interface.c +++ b/src/role_interface.c @@ -45,7 +45,7 @@ const gchar if (iface->get_role_id) { - ret = (* iface->get_role_id) (irole); + ret = (gchar *)(* iface->get_role_id) (irole); } return ret;