- Add Fix-build-with-GCC9.patch - Refresh patches, use %autosetup - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/705889 OBS-URL: https://build.opensuse.org/package/show/graphics/ufraw?expand=0&rev=50
14 lines
435 B
Diff
14 lines
435 B
Diff
diff --git a/dcraw.cc b/dcraw.cc
|
|
index de03771..709b814 100644
|
|
--- a/dcraw.cc
|
|
+++ b/dcraw.cc
|
|
@@ -10605,7 +10605,7 @@ thumbnail:
|
|
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);
|