summaryrefslogtreecommitdiffstats
path: root/src/pedro/pedroxmpp.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-06-05 06:34:50 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-06-05 06:34:50 +0000
commit955a0d1c0aa807fa77f326515d631eb678ea5491 (patch)
treee116a71e870de5a97a98271c9aba015c11c42fb2 /src/pedro/pedroxmpp.cpp
parentaddress a warning (diff)
downloadinkscape-955a0d1c0aa807fa77f326515d631eb678ea5491.tar.gz
inkscape-955a0d1c0aa807fa77f326515d631eb678ea5491.zip
address some cast-away-const warnings.
(bzr r5814)
Diffstat (limited to 'src/pedro/pedroxmpp.cpp')
-rw-r--r--src/pedro/pedroxmpp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp
index 2b8719002..3baeeee06 100644
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
@@ -1162,7 +1162,7 @@ bool XmppClient::processIq(Element *root)
"IQ set does not contain a 'from' address because "
"the entity is not registered with the server");
}
- error("%s",(char *)errMsg.c_str());
+ error("%s", errMsg.c_str());
}
else if (id.find("regcancel") != id.npos)
@@ -1201,7 +1201,7 @@ bool XmppClient::processIq(Element *root)
"IQ set does not contain a 'from' address because "
"the entity is not registered with the server");
}
- error("%s",(char *)errMsg.c_str());
+ error("%s", errMsg.c_str());
}
return true;
@@ -1394,7 +1394,7 @@ bool XmppClient::inBandRegistrationNew()
{
errMsg.append("some registration information was not provided");
}
- error("%s",(char *)errMsg.c_str());
+ error("%s", errMsg.c_str());
delete elem;
return false;
}