wok view urxvt/stuff/gcc.u @ rev 20348
pinentry update: 0.9.7 (2015 Dec) -> 1.1.0 (2017 Dec)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 10:42:55 2018 +0000 (2018-06-09) |
parents | |
children |
line source
1 --- src/command.C
2 +++ src/command.C
3 @@ -3336,7 +3336,7 @@
4 }
5 else
6 {
7 - char *eq = strchr (str, '='); // constness lost, but verified to be ok
8 + char *eq = strchr ((char *)str, '=');
10 if (eq)
11 {
13 --- src/misc.C
14 +++ src/misc.C
15 @@ -170,7 +170,7 @@
16 char *
17 rxvt_basename (const char *str) NOTHROW
18 {
19 - char *base = strrchr (str, '/');
20 + char *base = strrchr ((char *)str, '/');
22 return (char *) (base ? base + 1 : str);
23 }