sources/network/ipaddress.cpp

branch
protocol5
changeset 150
37db42ad451a
parent 145
d0aedc9be448
child 182
20ca0a6be175
--- a/sources/network/ipaddress.cpp	Wed Jul 20 15:03:37 2016 +0300
+++ b/sources/network/ipaddress.cpp	Wed Jul 20 17:56:40 2016 +0300
@@ -161,7 +161,7 @@
 	}
 
 	if (colonpos != -1)
-		value.port = (unsigned short) input.mid (colonpos + 1, -1).to_int();
+		value.port = (unsigned short) input.mid (colonpos + 1, -1).toInt();
 
 	return value;
 }

mercurial