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:
parent
1ee2bfbb47
commit
30d20e646b
@ -27,12 +27,12 @@ int main(int argc, char * argv[])
|
|||||||
|
|
||||||
if(argc == 2)
|
if(argc == 2)
|
||||||
{
|
{
|
||||||
port = std::atoi(argv[1]);
|
port = atoi(argv[1]);
|
||||||
}
|
}
|
||||||
else if(argc == 3)
|
else if(argc == 3)
|
||||||
{
|
{
|
||||||
ipAddress = argv[1];
|
ipAddress = argv[1];
|
||||||
port = std::atoi(argv[2]);
|
port = atoi(argv[2]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ipAddress.isEmpty())
|
if(ipAddress.isEmpty())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user