summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/utilities.h')
-rw-r--r--plugins/New_GPG/src/utilities.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/New_GPG/src/utilities.h b/plugins/New_GPG/src/utilities.h
index eaa7ef71b5..ef3fbced23 100644
--- a/plugins/New_GPG/src/utilities.h
+++ b/plugins/New_GPG/src/utilities.h
@@ -46,12 +46,12 @@ public:
timestamp = time(0);
szModule = 0;
cbSize = 0;
- cbBlob = strlen(msg)+1;
+ cbBlob = DWORD(strlen(msg)+1);
pBlob = (PBYTE)msg;
}
db_event(char* msg, DWORD time)
{
- cbBlob = strlen(msg)+1;
+ cbBlob = DWORD(strlen(msg)+1);
pBlob = (PBYTE)msg;
eventType = EVENTTYPE_MESSAGE;
flags = 0;
@@ -61,7 +61,7 @@ public:
}
db_event(char* msg, DWORD time, int type)
{
- cbBlob = strlen(msg)+1;
+ cbBlob = DWORD(strlen(msg)+1);
pBlob = (PBYTE)msg;
if(type)
eventType = type;
@@ -74,7 +74,7 @@ public:
}
db_event(char* msg, int type)
{
- cbBlob = strlen(msg)+1;
+ cbBlob = DWORD(strlen(msg)+1);
pBlob = (PBYTE)msg;
flags = 0;
if(type)
@@ -87,7 +87,7 @@ public:
}
db_event(char* msg, DWORD time, int type, DWORD _flags)
{
- cbBlob = strlen(msg)+1;
+ cbBlob = DWORD(strlen(msg)+1);
pBlob = (PBYTE)msg;
if(type)
eventType = type;