summaryrefslogtreecommitdiff
path: root/community/codeblocks/prefix.diff
blob: 3c88d40678b1b1be415020a9b84ffbdc3f9bff96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -aur codeblocks-8.02.orig/src/src/prefix.cpp codeblocks-8.02.new/src/src/prefix.cpp
--- codeblocks-8.02.orig/src/src/prefix.cpp	2009-07-27 22:53:45.000000000 +0200
+++ codeblocks-8.02.new/src/src/prefix.cpp	2009-07-27 22:56:24.000000000 +0200
@@ -389,7 +389,8 @@
 char *
 br_extract_dir (const char *path)
 {
-	char *end, *result;
+  const char *end;
+  char *result;
 
 	br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
 
@@ -424,7 +425,8 @@
 char *
 br_extract_prefix (const char *path)
 {
-	char *end, *tmp, *result;
+  const char *end;
+  char *tmp, *result;
 
 	br_return_val_if_fail (path != (char *) NULL, (char *) NULL);