diff options
author | Christopher Faylor <me@cgf.cx> | 2002-10-23 06:20:38 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-10-23 06:20:38 +0400 |
commit | 082512aea1f22db6d4a7d5087d83de274c8d640c (patch) | |
tree | 30e17f6825c0ad8e38ad745462523dc29b340feb /winsup/cygwin/include | |
parent | 046a4e718e824a9953922eedc4f32d8fac048f10 (diff) |
* shared.cc (shared_info::initialize): Use correct value for version
comparison.
* include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic
calculation.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 373794430..f7284b606 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -230,5 +230,5 @@ details. */ cygwin_internal (CW_GETVERSIONINFO). */ -#define CYGWIN_VERSION_MAGIC(a, b) ((unsigned) (((unsigned short) a) | (unsigned short) b)) +#define CYGWIN_VERSION_MAGIC(a, b) ((unsigned) ((((unsigned short) a) << 16) | (unsigned short) b)) #define CYGWIN_VERSION_MAGIC_VERSION(a) ((unsigned) ((unsigned)a & 0xffff)) |