From 7d07e6ea510f3a0e8b5e22e3e8b2745affd963f7 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 24 Oct 2001 19:05:16 +0000 Subject: [PATCH] Misc MSVC tweaks. --- simgear/io/sg_socket.hxx | 2 +- simgear/misc/props.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } /**