File bayonne2-1.5.19-const_char.dif of Package bayonne2
--- binders/bayonnexml/parse.cpp
+++ binders/bayonnexml/parse.cpp
@@ -169,7 +169,7 @@
{
voicelib = img->dupString(voicelib);
voice = img->dupString(voicelib);
- p = strchr(voicelib, '/');
+ p = (char*)strchr(voicelib, '/');
if(p)
{
*p = 0;
@@ -659,12 +659,12 @@
return;
}
- p = strchr(value, '#');
+ p = (char*)strchr(value, '#');
if(p)
{
*p = 0;
label = img->dupString((const char *)(p + 1));
- q = strchr(label, '?');
+ q = (char*)strchr(label, '?');
if(q)
{
*(q++) = 0;
@@ -805,12 +805,12 @@
else
{
label = NULL;
- p = strchr(bnext, '#');
+ p = (char*)strchr(bnext, '#');
if(p)
{
*p = 0;
label = img->dupString((const char *)(p + 1));
- q = strchr(label, '?');
+ q = (char*)strchr(label, '?');
if(q)
{
*(q++) = 0;
--- binders/ivrscript1/binder.cpp
+++ binders/ivrscript1/binder.cpp
@@ -354,7 +354,7 @@
char *p;
setString(vbuf, sizeof(vbuf), v);
- p = strchr(v, ':');
+ p = (char*)strchr(v, ':');
if(p)
{
*p = 0;
@@ -376,7 +376,7 @@
char *p;
setString(vbuf, sizeof(vbuf), v);
- p = strchr(v, ':');
+ p = (char*)strchr(v, ':');
if(p)
{
*p = 0;
@@ -398,7 +398,7 @@
char *p;
setString(vbuf, sizeof(vbuf), v);
- p = strchr(v, ':');
+ p = (char*)strchr(v, ':');
if(p)
{
*p = 0;
@@ -420,7 +420,7 @@
char *p;
setString(vbuf, sizeof(vbuf), v);
- p = strchr(v, ':');
+ p = (char*)strchr(v, ':');
if(p)
{
*p = 0;
--- engine/sysexec.cpp
+++ engine/sysexec.cpp
@@ -334,7 +334,7 @@
tone = strtok_r(NULL, " \t\r\n", &tok);
if(!tone)
return;
- p = strchr(tone, '/');
+ p = (char*)strchr(tone, '/');
if(p)
{
*(p++) = 0;
--- modules/webservice/session.cpp
+++ modules/webservice/session.cpp
@@ -224,7 +224,7 @@
req_query = NULL;
req_auth = NULL;
if(req_path)
- tok = strchr(req_path, '?');
+ tok = (char*)strchr(req_path, '?');
else
tok = NULL;
if(tok)