diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-09-01 12:26:30 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-09-01 12:26:30 +0200 |
commit | db071c425d89bb1eca205546ef5cdae6d6dc3a1f (patch) | |
tree | 537dc58522c0ac5778ce176999ad20e64d58b6f3 | |
parent | a1f0b1a06095d81b6a5b8255b818b1c35c92df29 (diff) | |
download | glibmm-db071c425d89bb1eca205546ef5cdae6d6dc3a1f.tar.gz |
resolver example: Use std::strtoul instead of strtoul.
-rw-r--r-- | examples/network/resolver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/resolver.cc b/examples/network/resolver.cc index 42f36a63..c8506f22 100644 --- a/examples/network/resolver.cc +++ b/examples/network/resolver.cc @@ -401,7 +401,7 @@ do_connectable (const std::string& arg, gboolean synchronous) { host = arg.substr (0, pos); port_str = arg.substr(pos); - port = strtoul (port_str.c_str (), nullptr, 10); + port = std::strtoul (port_str.c_str (), nullptr, 10); } else port = 0; |