LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ufraw-glibc210.patch of Package ufraw (Project home:garloff:Photography)

Index: ufraw-0.19.2/dcraw.cc
===================================================================
--- ufraw-0.19.2.orig/dcraw.cc
+++ ufraw-0.19.2/dcraw.cc
@@ -9737,9 +9737,9 @@ thumbnail:
     if (write_to_stdout)
       strcpy (ofname,_("standard output"));
     else {
       strcpy (ofname, ifname);
-      if ((cp = strrchr (ofname, '.'))) *cp = 0;
+      if ((cp = (char*)strrchr (ofname, '.'))) *cp = 0;
       if (multi_out)
 	sprintf (ofname+strlen(ofname), "_%0*d",
 		snprintf(0,0,"%d",is_raw-1), shot_select);
       if (thumbnail_only)