wok-stable view rawstudio/stuff/rawstudio-const.patch @ rev 10858

Up slitaz-base-files (4.4) - New motd and ready for RC
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jun 16 18:46:23 2011 +0200 (2011-06-16)
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);