diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2008-06-05 06:34:50 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2008-06-05 06:34:50 +0000 |
| commit | 955a0d1c0aa807fa77f326515d631eb678ea5491 (patch) | |
| tree | e116a71e870de5a97a98271c9aba015c11c42fb2 /src/pedro/pedroxmpp.cpp | |
| parent | address a warning (diff) | |
| download | inkscape-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.cpp | 6 |
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; } |
