summaryrefslogtreecommitdiff
path: root/chat/kmess/patches/patch-kmess_prefix.cpp
blob: 8cf7fb691ada1d7f83b39e91486dbb6079e778f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-kmess_prefix.cpp,v 1.1 2012/02/08 00:12:37 sbd Exp $

--- kmess/prefix.cpp.orig	2005-07-18 19:50:16.000000000 +0000
+++ kmess/prefix.cpp
@@ -393,7 +393,8 @@ br_strndup (char *str, size_t size)
 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);
 
@@ -428,7 +429,8 @@ br_extract_dir (const char *path)
 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);