Remove warnings
Modified: trunk/rosapps/net/netreg/netreg.cpp
Modified: trunk/rosapps/net/netreg/netreg.xml
_____
Modified: trunk/rosapps/net/netreg/netreg.cpp
--- trunk/rosapps/net/netreg/netreg.cpp 2005-09-02 21:13:10 UTC (rev
17609)
+++ trunk/rosapps/net/netreg/netreg.cpp 2005-09-02 21:26:51 UTC (rev
17610)
@@ -403,8 +403,8 @@
string full_input;
string remaining_output;
- RHState state;
SOCKET socket;
+ RHState state;
};
SOCKET make_listening_socket( int port ) {
@@ -440,7 +440,7 @@
SOCKET listen_socket;
int i;
int port_to_listen = 80;
- int active_fds = 0;
+ unsigned int active_fds = 0;
for( i = 1; i < argc; i++ ) {
if( string( "-p" ) == argv[i] ) {
@@ -480,8 +480,6 @@
FD_SET(listen_socket,&pollin);
- struct timeval tv;
-
active_fds = select( active_fds, &pollin, &pollout, &pollerr, NULL
);
if( active_fds > 0 ) {
_____
Modified: trunk/rosapps/net/netreg/netreg.xml
--- trunk/rosapps/net/netreg/netreg.xml 2005-09-02 21:13:10 UTC (rev
17609)
+++ trunk/rosapps/net/netreg/netreg.xml 2005-09-02 21:26:51 UTC (rev
17610)
@@ -1,4 +1,4 @@
-<module name="netreg" type="win32cui"
installbase="system32"
installname="netreg.exe" warnings="true">
+<module name="netreg" type="win32cui"
installbase="system32"
installname="netreg.exe">
<include base="netreg">.</include>
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define>