diff --git a/src/OpenMesh/Core/System/config.h b/src/OpenMesh/Core/System/config.h index b48b1536..e0d436e3 100644 --- a/src/OpenMesh/Core/System/config.h +++ b/src/OpenMesh/Core/System/config.h @@ -71,9 +71,9 @@ // only defined, if it is a beta version //#define OM_VERSION_BETA 4 -#define OM_GET_VER ((OM_VERSION && 0xf0000) >> 16) -#define OM_GET_MAJ ((OM_VERSION && 0x0ff00) >> 8) -#define OM_GET_MIN (OM_VERSION && 0x000ff) +#define OM_GET_VER ((OM_VERSION & 0xf0000) >> 16) +#define OM_GET_MAJ ((OM_VERSION & 0x0ff00) >> 8) +#define OM_GET_MIN (OM_VERSION & 0x000ff) #ifdef WIN32 # ifdef min