diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-05-03 02:07:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-05-03 02:07:32 +0200 |
commit | f45828699b405acf51130fbae248e6a2193247cd (patch) | |
tree | dc571db8193e86f5db4aba965640faa57458904a /pcilib/version.h.in | |
parent | 4753ea5cded2ed3fdd68d8e5b656566f6b9771ab (diff) | |
download | pcitool-f45828699b405acf51130fbae248e6a2193247cd.tar.gz pcitool-f45828699b405acf51130fbae248e6a2193247cd.tar.bz2 pcitool-f45828699b405acf51130fbae248e6a2193247cd.tar.xz pcitool-f45828699b405acf51130fbae248e6a2193247cd.zip |
Fix typos in versioning code
Diffstat (limited to 'pcilib/version.h.in')
-rw-r--r-- | pcilib/version.h.in | 6 |
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) |