Use defines for version info. uint32_t should be byte-shifted with htonl()
[umurmur.git] / src / messages.h
index 55a7433990ed1adcdfc9b18697719dbaafad4101..eedf7fd6cbf5e3b84317138656b5b5eb437bb174 100644 (file)
@@ -39,7 +39,7 @@
 #define PROTVER_MAJOR 1
 #define PROTVER_MINOR 2
 #define PROTVER_PATCH 0
-#define PROTOCOL_VERSION (((PROTVER_MAJOR << 16) | (PROTVER_MINOR << 8) | PROTVER_PATCH))
+#define PROTOCOL_VERSION ((PROTVER_MAJOR << 16) | (PROTVER_MINOR << 8) | (PROTVER_PATCH))
 
 #define MAX_TEXT 512