Replaced Windows-specific "DWORD" type with more appropriate "void*"
specification, to fix compilation under Unix. Also, added missing
newlines at end of some files.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@469 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/VNCServerST.cxx b/rfb/VNCServerST.cxx
index 9f6ecb5..0721a3c 100644
--- a/rfb/VNCServerST.cxx
+++ b/rfb/VNCServerST.cxx
@@ -516,7 +516,7 @@
return;
std::list<VNCSConnectionST*>::iterator i;
for (i = clients.begin(); i != clients.end(); i++)
- listConn->addInfo((DWORD)(*i), (*i)->getSock()->getPeerAddress(),
+ listConn->addInfo((void*)(*i), (*i)->getSock()->getPeerAddress(),
(*i)->getStartTime(), (*i)->getStatus());
}
@@ -539,4 +539,4 @@
}
}
}
-}
\ No newline at end of file
+}