From 30d20e646bb8468fc3737286ab90d5a1a63e6caf Mon Sep 17 00:00:00 2001 From: matlabbe Date: Fri, 18 Jul 2014 18:07:21 +0000 Subject: [PATCH] fixed compilation error on Mac OS X Maverick (std::atoi -> atoi) git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@352 620bd6b2-0a58-f614-fd9a-1bd335dccda9 --- tcpClient/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcpClient/main.cpp b/tcpClient/main.cpp index 09822f02..836873c5 100644 --- a/tcpClient/main.cpp +++ b/tcpClient/main.cpp @@ -27,12 +27,12 @@ int main(int argc, char * argv[]) if(argc == 2) { - port = std::atoi(argv[1]); + port = atoi(argv[1]); } else if(argc == 3) { ipAddress = argv[1]; - port = std::atoi(argv[2]); + port = atoi(argv[2]); } if(ipAddress.isEmpty())