]> saetta.ns0.it Git - zakautho/libzakautho/commitdiff
Bugfixes.
authorAndrea Zagli <azagli@libero.it>
Thu, 24 Jun 2010 18:25:33 +0000 (20:25 +0200)
committerAndrea Zagli <azagli@libero.it>
Thu, 24 Jun 2010 18:25:33 +0000 (20:25 +0200)
src/resource_interface.c
src/role_interface.c

index fd873f7894fcea055e6a6619911df1d08e0fe3ee..b2d15f8721929c1df1de347fa1d7de216de7f4ef 100644 (file)
@@ -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;
index e81f7d9df2302e645e5a3a8c8a080b50fe479264..815b41765b2850168bd4e420f0fead274d72cabe 100644 (file)
@@ -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;