]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/sockets/sockets.factor
Remove many uses of <int> and *int etc
[factor.git] / basis / io / sockets / sockets.factor
index 2a7391c36b2514f2f641fe79eaa2d84807e09581..a1bfd4c6aac60e314ad04db672cb5180ddbffd32 100644 (file)
@@ -106,10 +106,10 @@ M: ipv4 make-sockaddr ( inet -- sockaddr )
         swap
         [ port>> htons >>port ]
         [ host>> "0.0.0.0" or ]
-        [ inet-pton *uint >>addr ] tri ;
+        [ inet-pton uint deref >>addr ] tri ;
 
 M: ipv4 parse-sockaddr ( sockaddr-in addrspec -- newaddrspec )
-    [ addr>> <uint> ] dip inet-ntop <ipv4> ;
+    [ addr>> uint <ref> ] dip inet-ntop <ipv4> ;
 
 TUPLE: inet4 < ipv4 { port integer read-only } ;