Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/libbs2b.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72>2009-04-06 21:17:18 +0400
committerhartwork <hartwork@bc0edfbe-c936-4687-b64d-f70bc3985e72>2009-04-06 21:17:18 +0400
commit425a9f43253678e34d8b026d0850e0bf1c3f88bf (patch)
tree9a94c3b23dfefa567fcb1ce734281e5d97ccbee3
parent17e5856d7952f48e65fa6904dcb995f6acc545fa (diff)
Fix version macro, reported by Ilya Kotov
git-svn-id: svn://svn.code.sf.net/p/bs2b/code/trunk/libbs2b@101 bc0edfbe-c936-4687-b64d-f70bc3985e72
-rw-r--r--src/bs2bversion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bs2bversion.h b/src/bs2bversion.h
index 0b756b0..af93b99 100644
--- a/src/bs2bversion.h
+++ b/src/bs2bversion.h
@@ -36,9 +36,9 @@
BS2B_STRINGIFY(BS2B_VERSION_MINOR) "." \
BS2B_STRINGIFY(BS2B_VERSION_RELEASE)
-#define BS2B_VERSION_INT \
+#define BS2B_VERSION_INT (\
( BS2B_VERSION_MAJOR << 16 ) | \
( BS2B_VERSION_MINOR << 8 ) | \
- ( BS2B_VERSION_RELEASE )
+ ( BS2B_VERSION_RELEASE ))
#endif /* BS2BVERSION_H */