summaryrefslogtreecommitdiff
path: root/devel/gcvs/files/patch-common-UCvsFiles.cpp
blob: 2a80abfe30feb3485de7891ce6c7e2fca4df1902 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- common/UCvsFiles.cpp.orig	2002-08-13 13:46:40.000000000 +0200
+++ common/UCvsFiles.cpp	2007-11-22 21:01:27.000000000 +0100
@@ -201,7 +201,7 @@
 
 #define NUM_COLUMNS	7
 
-static char *_gszColumnLabel[NUM_COLUMNS] =
+static const char *_gszColumnLabel[NUM_COLUMNS] =
 {
 	"Name", "Rev.", "Option", "Status",	"Tag", "Date", "Conflict"
 };
@@ -1214,7 +1214,7 @@
 {
 	UStr uppath, filename;
 	SplitPath(m_path, uppath, filename);
-	ResetView(uppath, true);
+	ResetView( (const char *)uppath, true);
 	return 0;
 }
 
@@ -1895,7 +1895,7 @@
 	fullpath << (*data)[EntnodeData::kName];
 	if(data->GetType() == ENT_SUBDIR)
 	{
-		ResetView(fullpath, true);
+		ResetView( (const char *)fullpath, true);
 	}
 	else
 	{