Changeset - r16228:7cc349983c50
[Not reviewed]
master
0 2 0
rubidium - 14 years ago 2010-10-15 22:08:57
rubidium@openttd.org
(svn r20939) -Fix: some MSVC warnings
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/cheat_gui.cpp
Show inline comments
 
@@ -66,7 +66,7 @@ static int32 ClickChangeCompanyCheat(int
 
 */
 
static int32 ClickSetProdCheat(int32 p1, int32 p2)
 
{
 
	_cheats.setup_prod.value = p1;
 
	_cheats.setup_prod.value = (p1 != 0);
 
	InvalidateWindowClassesData(WC_INDUSTRY_VIEW);
 
	return _cheats.setup_prod.value;
 
}
src/network/core/tcp.cpp
Show inline comments
 
@@ -238,7 +238,7 @@ bool NetworkTCPSocketHandler::CanSendRec
 
#endif
 

	
 
	this->writable = !!FD_ISSET(this->sock, &write_fd);
 
	return FD_ISSET(this->sock, &read_fd);
 
	return FD_ISSET(this->sock, &read_fd) != 0;
 
}
 

	
 
#endif /* ENABLE_NETWORK */
0 comments (0 inline, 0 general)