]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props.hxx
Misc MSVC tweaks.
[simgear.git] / simgear / misc / props.hxx
index 71b707df39b4546cab322b920b6ff67d05ca7aa1..bcaf66647732cb575a83d61262c3c61f3b37cf40 100644 (file)
@@ -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); }
 
 
   /**