summaryrefslogtreecommitdiffstats
path: root/pcilib/version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/version.h.in')
-rw-r--r--pcilib/version.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcilib/version.h.in b/pcilib/version.h.in
index 6eb3b20..0940913 100644
--- a/pcilib/version.h.in
+++ b/pcilib/version.h.in
@@ -6,9 +6,9 @@
#define PCILIB_VERSION_MICRO ${PCILIB_VERSION_MICRO}
#define PCILIB_MAKE_VERSION(major, minor, micro) ((major<<16)|(minor<<8)|(micro))
-#define PCILIB_VERSION_GET_MAJOR(version) ((version>>16)&&0xFF)
-#define PCILIB_VERSION_GET_MINOR(version) ((version>>8)&&0xFF)
-#define PCILIB_VERSION_GET_MICRO(version) ((version)&&0xFF)
+#define PCILIB_VERSION_GET_MAJOR(version) ((version>>16)&0xFF)
+#define PCILIB_VERSION_GET_MINOR(version) ((version>>8)&0xFF)
+#define PCILIB_VERSION_GET_MICRO(version) ((version)&0xFF)
#define PCILIB_VERSION PCILIB_MAKE_VERSION(PCILIB_VERSION_MAJOR, PCILIB_VERSION_MINOR, PCILIB_VERSION_MICRO)