wok-6.x view rawstudio/stuff/rawstudio-const.patch @ rev 17570
Fix: cairo 1.12.18
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 20:27:18 2015 +0000 (2015-02-07) |
parents | |
children |
line source
1 diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc
2 --- rawstudio-1.2.orig/src/dcraw.cc 2009-04-10 00:21:45.000000000 +0300
3 +++ rawstudio-1.2/src/dcraw.cc 2009-07-16 00:05:28.169155134 +0300
4 @@ -8510,7 +8510,7 @@
5 argv[argc] = "";
6 for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
7 opt = argv[arg++][1];
8 - if ((cp = strchr (sp="nbrkStqmHACg", opt)))
9 + if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt)))
10 for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
11 if (!isdigit(argv[arg+i][0])) {
12 dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);