blob: 4440c95b85495276aa37a36fcda748c24e153f57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-sa,v 1.3 2010/11/26 14:49:50 adam Exp $
--- src/af/util/xp/ut_misc.cpp.orig 2009-06-28 22:09:08.000000000 +0000
+++ src/af/util/xp/ut_misc.cpp
@@ -625,7 +625,7 @@ const gchar ** UT_splitPropsToArray(gcha
}
char * semi = NULL;
- const char * p = pProps;
+ char * p = pProps;
while((semi = (char *) strchr(p, ';')))
{
*semi = 0;
@@ -639,7 +639,7 @@ const gchar ** UT_splitPropsToArray(gcha
const gchar ** pPropsArray = new const gchar *[2 * iPropCount + 1];
UT_return_val_if_fail( pPropsArray, NULL );
- const char * pStart = pProps;
+ char * pStart = pProps;
// we want to include the 0-terminator
for(i = 0; i <= iLen; i++)
|