sources/network/ipaddress.cpp

changeset 145
d0aedc9be448
parent 137
485cb6d6b98c
child 182
20ca0a6be175
--- a/sources/network/ipaddress.cpp	Wed Jul 20 15:07:57 2016 +0300
+++ b/sources/network/ipaddress.cpp	Wed Jul 20 16:01:10 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