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); } /**