X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fexif-common.c;h=12956dea021620930b202b25331bd60ff24cad4b;hp=43498f99e5ab82ae616eeeff4644f8abd48521a2;hb=7628d75a4b525cc77c827f2f9eca2e66c9bf0a5d;hpb=bfe962ba4dfebc74362154c5464e8887272595d0 diff --git a/src/exif-common.c b/src/exif-common.c index 43498f99..12956dea 100644 --- a/src/exif-common.c +++ b/src/exif-common.c @@ -458,9 +458,9 @@ static gchar *exif_build_formatted_ColorProfile(ExifData *exif) #ifdef HAVE_LCMS2 profileID[16] = '\0'; cmsGetHeaderProfileID(profile, profileID); - name = profileID; + name = (gchar *) profileID; #else - name = cmsTakeProductName(profile); + name = (gchar *) cmsTakeProductName(profile); #endif cmsCloseProfile(profile); }