summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CrashDumper/src/upload.cpp4
-rw-r--r--plugins/Spamotron/src/bayes.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp
index 2e614923f9..437a5f55a0 100644
--- a/plugins/CrashDumper/src/upload.cpp
+++ b/plugins/CrashDumper/src/upload.cpp
@@ -52,7 +52,7 @@ void GetLoginStr(char* user, size_t szuser, char* pass)
{
CallService(MS_DB_CRYPT_DECODESTRING, strlen(dbv.pszVal)+1, (LPARAM)dbv.pszVal);
- mir_md5_byte_t hash[16];
+ BYTE hash[16];
mir_md5_state_t context;
mir_md5_init(&context);
@@ -251,7 +251,7 @@ bool ProcessVIHash(bool store)
buffer.reserve(0x1800);
PrintVersionInfo(buffer, 0);
- mir_md5_byte_t hash[16];
+ BYTE hash[16];
mir_md5_state_t context;
mir_md5_init(&context);
diff --git a/plugins/Spamotron/src/bayes.cpp b/plugins/Spamotron/src/bayes.cpp
index 387c76bf83..8a00005150 100644
--- a/plugins/Spamotron/src/bayes.cpp
+++ b/plugins/Spamotron/src/bayes.cpp
@@ -97,9 +97,9 @@ int OpenBayes()
return 0;
}
-char *tokenhash(const char *token, mir_md5_byte_t *digest)
+char *tokenhash(const char *token, BYTE *digest)
{
- mir_md5_hash((mir_md5_byte_t *)token, (int)strlen(token), digest);
+ mir_md5_hash((BYTE *)token, (int)strlen(token), digest);
return (char*)digest;
}
@@ -161,7 +161,7 @@ int get_token_score(int type, char *token)
{
char sql[200];
int score = 0;
- mir_md5_byte_t digest[16];
+ BYTE digest[16];
sqlite3_stmt *stmt;
if (bayesdb == NULL)
@@ -310,7 +310,7 @@ void dequeue_messages()
void learn(int type, TCHAR *msg)
{
char *tok, *message;
- mir_md5_byte_t digest[16];
+ BYTE digest[16];
char sql_select[200], sql_update[200], sql_insert[200], sql_counter[200];
sqlite3_stmt *stmt;
#ifdef _DEBUG