From: curt Date: Wed, 24 Oct 2001 19:05:16 +0000 (+0000) Subject: Misc MSVC tweaks. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d07e6ea510f3a0e8b5e22e3e8b2745affd963f7;p=simgear.git Misc MSVC tweaks. --- diff --git a/simgear/io/sg_socket.hxx b/simgear/io/sg_socket.hxx index ced2b205..9003c086 100644 --- a/simgear/io/sg_socket.hxx +++ b/simgear/io/sg_socket.hxx @@ -42,7 +42,7 @@ SG_USING_STD(string); #if defined(_MSC_VER) || defined(__MINGW32__) -# include +# include #endif #define SG_MAX_SOCKET_QUEUE 32 diff --git a/simgear/misc/props.hxx b/simgear/misc/props.hxx index 71b707df..bcaf6664 100644 --- a/simgear/misc/props.hxx +++ b/simgear/misc/props.hxx @@ -694,7 +694,7 @@ public: /** * Check a single mode attribute for the property node. */ - bool getAttribute (Attribute attr) const { return (_attr & attr); } + bool getAttribute (Attribute attr) const { return (bool)(_attr & attr); } /**