wok-6.x view rawstudio/stuff/rawstudio-const.patch @ rev 13625

Up xine-lib (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 14 14:55:26 2012 +0100 (2012-11-14)
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);