wok view rawstudio/stuff/rawstudio-const.patch @ rev 17356
Up slitaz-boot-scripts (5.6.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 14:27:51 2014 +0100 (2014-11-18) |
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);