From 69e0cbe0ef4833a87efc50a9300f9c0020d9e543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 10 Oct 2010 00:57:20 +0200 Subject: Fixed EchoBot compilation warnings. 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(); -- cgit v0.10.2-6-g49f6