diff options
| author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 | 
| commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
| tree | b0a227d6e087c41958cc84d27bc323353248aae5 /protocols/GmailNotifier/src | |
| parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) | |
DWORD -> uint32_t
Diffstat (limited to 'protocols/GmailNotifier/src')
| -rw-r--r-- | protocols/GmailNotifier/src/notify.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GmailNotifier/src/notify.cpp b/protocols/GmailNotifier/src/notify.cpp index c09988f12f..40f92b6ad9 100644 --- a/protocols/GmailNotifier/src/notify.cpp +++ b/protocols/GmailNotifier/src/notify.cpp @@ -6,7 +6,7 @@ static void __cdecl Login_ThreadFunc(Account *curAcc)  		return;  	HANDLE hTempFile; -	DWORD  dwBytesWritten, dwBufSize = 1024; +	DWORD dwBytesWritten, dwBufSize = 1024;  	char szTempName[MAX_PATH];  	char buffer[1024];  	char *str_temp; @@ -41,7 +41,7 @@ static void __cdecl Login_ThreadFunc(Account *curAcc)  				mir_strcat(buffer, "><input type=hidden name=password value=");  				mir_strcat(buffer, curAcc->pass);  				mir_strcat(buffer, "></form></body>"); -				WriteFile(hTempFile, buffer, (DWORD)mir_strlen(buffer), &dwBytesWritten, nullptr); +				WriteFile(hTempFile, buffer, (uint32_t)mir_strlen(buffer), &dwBytesWritten, nullptr);  				CloseHandle(hTempFile);  				mir_strcat(lpPathBuffer, szTempName);  			} @@ -149,7 +149,7 @@ void NotifyUser(Account *curAcc)  			resultLink *prst = curAcc->results.next;  			for (int i = 0; i < newMails; i++) { -				dbei.cbBlob = (DWORD)mir_strlen(prst->content) + 1; +				dbei.cbBlob = (uint32_t)mir_strlen(prst->content) + 1;  				dbei.pBlob = (uint8_t*)prst->content;  				db_event_add(curAcc->hContact, &dbei);  				prst = prst->next;  | 
