wok diff rawstudio/stuff/rawstudio-const.patch @ rev 9417

Up: vim, vim-tiny and gvim to 7.3, fixed vimrc path, linked libraries and build depends
author Manuel Flores Vivas <manuelfloresv@gmail.com>
date Wed Mar 30 01:13:57 2011 +0000 (2011-03-30)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rawstudio/stuff/rawstudio-const.patch	Wed Mar 30 01:13:57 2011 +0000
     1.3 @@ -0,0 +1,12 @@
     1.4 +diff -Nur rawstudio-1.2.orig/src/dcraw.cc rawstudio-1.2/src/dcraw.cc
     1.5 +--- rawstudio-1.2.orig/src/dcraw.cc	2009-04-10 00:21:45.000000000 +0300
     1.6 ++++ rawstudio-1.2/src/dcraw.cc	2009-07-16 00:05:28.169155134 +0300
     1.7 +@@ -8510,7 +8510,7 @@
     1.8 +   argv[argc] = "";
     1.9 +   for (arg=1; (((opm = argv[arg][0]) - 2) | 2) == '+'; ) {
    1.10 +     opt = argv[arg++][1];
    1.11 +-    if ((cp = strchr (sp="nbrkStqmHACg", opt)))
    1.12 ++    if ((cp = (char *)strchr (sp="nbrkStqmHACg", opt)))
    1.13 +       for (i=0; i < "114111111422"[cp-sp]-'0'; i++)
    1.14 + 	if (!isdigit(argv[arg+i][0])) {
    1.15 + 	  dcraw_message (DCRAW_ERROR,_("Non-numeric argument to \"-%c\"\n"), opt);