summaryrefslogtreecommitdiffstats
path: root/extra/ufraw/gcc44.patch
blob: 51444674bf9171b41c4a509a736fc21504426071 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ufraw-0.15/dcraw.cc	2008-12-23 08:19:41.000000000 +0100
+++ ufraw-0.15/dcraw.cc.new	2009-07-30 21:19:53.000000000 +0200
@@ -8401,7 +8401,7 @@
   argv[argc] = "";
   for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
     opt = argv[arg++][1];
-    if ((cp = strchr (sp="nbrkStqmHAC", opt)))
+    if ((cp = strchr (const sp="nbrkStqmHAC", opt)))
       for (i=0; i < "11411111142"[cp-sp]-'0'; i++)
 	if (!isdigit(argv[arg+i][0])) {
 	  dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);