Silent 2 warnings using explicit type casting.
[geeqie.git] / src / color-man.c
index 1a7118c..7788c7a 100644 (file)
@@ -435,7 +435,7 @@ static gchar *color_man_get_profile_name(ColorManProfileType type, cmsHPROFILE p
                                cmsUInt8Number profileID[17];
                                profileID[16] = '\0';
                                cmsGetHeaderProfileID(profile, profileID);
-                               return g_strdup(profileID);
+                               return g_strdup((gchar *) profileID);
 #else
                                return g_strdup(cmsTakeProductName(profile));
 #endif
@@ -454,7 +454,7 @@ gboolean color_man_get_status(ColorMan *cm, gchar **image_profile, gchar **scree
        if (!cm) return FALSE;
 
        cc = cm->profile;
-       
+
        if (image_profile) *image_profile = color_man_get_profile_name(cc->profile_in_type, cc->profile_in);
        if (screen_profile) *screen_profile = color_man_get_profile_name(cc->profile_out_type, cc->profile_out);
        return TRUE;