summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-09 22:57:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-09 22:57:20 (GMT)
commit69e0cbe0ef4833a87efc50a9300f9c0020d9e543 (patch)
treed0f32a7f1d5acfc8d84bdbf38f185e8be92de717 /Documentation/SwiftenDevelopersGuide/Examples
parentb020901c604cf385ffe589a36399f021bb95dce1 (diff)
downloadswift-69e0cbe0ef4833a87efc50a9300f9c0020d9e543.zip
swift-69e0cbe0ef4833a87efc50a9300f9c0020d9e543.tar.bz2
Fixed EchoBot compilation warnings.
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide/Examples')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp2
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp2
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp2
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp2
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
index 584ec9d..df1da12 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot1.cpp
@@ -8,7 +8,7 @@
using namespace Swift;
-int main(int, char*) {
+int main(int, char**) {
SimpleEventLoop eventLoop;
Client client(JID("echobot@wonderland.lit"), "mypass");
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp
index f332fc8..dcecbcb 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot2.cpp
@@ -17,7 +17,7 @@ Client* client;
void handleConnected();
void handleMessageReceived(Message::ref message);
-int main(int, char*) {
+int main(int, char**) {
SimpleEventLoop eventLoop;
client = new Client(JID("echobot@wonderland.lit"), "mypass");
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp
index a9c611f..b5e6972 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot3.cpp
@@ -45,7 +45,7 @@ class EchoBot {
ClientXMLTracer* tracer;
};
-int main(int, char*) {
+int main(int, char**) {
SimpleEventLoop eventLoop;
EchoBot bot;
eventLoop.run();
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp
index b01fecd..9cedc43 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot4.cpp
@@ -80,7 +80,7 @@ class EchoBot {
};
//...
-int main(int, char*) {
+int main(int, char**) {
SimpleEventLoop eventLoop;
EchoBot bot;
eventLoop.run();
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp
index 72d0eb1..b0a76fd 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/EchoBot5.cpp
@@ -86,7 +86,7 @@ class EchoBot {
};
//...
-int main(int, char*) {
+int main(int, char**) {
SimpleEventLoop eventLoop;
EchoBot bot;
eventLoop.run();