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
This commit is contained in:
matlabbe 2014-07-18 18:07:21 +00:00
parent 1ee2bfbb47
commit 30d20e646b

View File

@ -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())