Misc MSVC tweaks.

This commit is contained in:
curt 2001-10-24 19:05:16 +00:00
parent 7c846972bf
commit 7d07e6ea51
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
SG_USING_STD(string); SG_USING_STD(string);
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
# include <winsock2.h> # include <winsock.h>
#endif #endif
#define SG_MAX_SOCKET_QUEUE 32 #define SG_MAX_SOCKET_QUEUE 32

View File

@ -694,7 +694,7 @@ public:
/** /**
* Check a single mode attribute for the property node. * 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); }
/** /**