mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
23 lines
680 B
Plaintext
23 lines
680 B
Plaintext
$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++)
|