summaryrefslogtreecommitdiffstats
path: root/rxvt-unicode-256color/gcc4.4.patch
blob: b854a1f7068ca24b4f29499ab631f01d96d7aa66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- src/command.C.old	2009-05-28 15:21:04.457772957 +0200
+++ src/command.C	2009-05-28 15:18:52.684597530 +0200
@@ -3336,7 +3336,7 @@
           }
         else
           {
-            char *eq = strchr (str, '='); // constness lost, but verified to be ok
+            char *eq = (char *) strchr ( str, '='); // constness lost, but verified to be ok
 
             if (eq)
               {
--- src/misc.C.old	2009-05-28 15:21:16.400270603 +0200
+++ src/misc.C	2009-05-28 15:21:51.697108339 +0200
@@ -170,7 +170,7 @@
 char *
 rxvt_basename (const char *str) NOTHROW
 {
-  char *base = strrchr (str, '/');
+  char *base = (char *) strrchr (str, '/');
 
   return (char *) (base ? base + 1 : str);
 }