Use more bits
@@ -7,10 +7,10 @@ extern "C" {
#endif
#define CLAP_VERSION_MAKE(Major, Minor, Revision) \
- ((((Major)&0xff) << 16) | (((Minor)&0xff) << 8) | ((Revision)&0xff))
+ ((((Major)&0xfff) << 20) | (((Minor)&0xfff) << 8) | ((Revision)&0xff))
-#define CLAP_VERSION_MAJ(Version) (((Version) >> 16) & 0xff)
-#define CLAP_VERSION_MIN(Version) (((Version) >> 8) & 0xff)
+#define CLAP_VERSION_MAJ(Version) (((Version) >> 20) & 0xfff)
+#define CLAP_VERSION_MIN(Version) (((Version) >> 8) & 0xfff)
#define CLAP_VERSION_REV(Version) ((Version)&0xff)
// Define CLAP_EXPORT
