summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/EmLanProto/src/Version.h5
-rw-r--r--protocols/EmLanProto/src/mlan.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/protocols/EmLanProto/src/Version.h b/protocols/EmLanProto/src/Version.h
index af9970f0cd..0d785b1bc9 100644
--- a/protocols/EmLanProto/src/Version.h
+++ b/protocols/EmLanProto/src/Version.h
@@ -1,9 +1,10 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 1
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
-#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __FILEVERSION_DWORD PLUGIN_MAKE_VERSION(__MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM)
#define __PLUGIN_NAME "E-mage LAN protocol"
#define __FILENAME "EmLanProto.dll"
diff --git a/protocols/EmLanProto/src/mlan.cpp b/protocols/EmLanProto/src/mlan.cpp
index a3141fd2bf..01fe5a9c49 100644
--- a/protocols/EmLanProto/src/mlan.cpp
+++ b/protocols/EmLanProto/src/mlan.cpp
@@ -662,7 +662,7 @@ u_char* CMLan::CreatePacket(TPacket& pak, int* pBufLen)
int len = 1;
if (pak.idVersion != -1)
- pak.idVersion = __FILEVERSION_STRING;
+ pak.idVersion = __FILEVERSION_DWORD;
else
pak.idVersion = 0;
if (pak.idStatus != -1)