extras; samples: Fixed warnings
[sdk] / samples / net / networkFile / NetworkServer / server.ec
index 90f7448..2e2f953 100644 (file)
@@ -86,7 +86,7 @@ enum PacketType { open, close, read, size };
 
 class NetworkServer : Service
 {
-   OldList clients { offset = (uint)&((ClientConnection)0).prev };
+   OldList clients { offset = (uint)(uintptr)&((ClientConnection)0).prev };
    void OnAccept()
    {
       ClientConnection socket { this };