wok-6.x diff urxvt/stuff/gcc.u @ rev 13556

gtkdialog: up 0.8.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 04:36:44 2012 +0000 (2012-11-03)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/urxvt/stuff/gcc.u	Sat Nov 03 04:36:44 2012 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +--- src/command.C
     1.5 ++++ src/command.C
     1.6 +@@ -3336,7 +3336,7 @@
     1.7 +           }
     1.8 +         else
     1.9 +           {
    1.10 +-            char *eq = strchr (str, '='); // constness lost, but verified to be ok
    1.11 ++            char *eq = strchr ((char *)str, '=');
    1.12 + 
    1.13 +             if (eq)
    1.14 +               {
    1.15 +
    1.16 +--- src/misc.C
    1.17 ++++ src/misc.C
    1.18 +@@ -170,7 +170,7 @@
    1.19 + char *
    1.20 + rxvt_basename (const char *str) NOTHROW
    1.21 + {
    1.22 +-  char *base = strrchr (str, '/');
    1.23 ++  char *base = strrchr ((char *)str, '/');
    1.24 + 
    1.25 +   return (char *) (base ? base + 1 : str);
    1.26 + }