Marko Nikolic : advapi32: Removed sign comparison warning.

Alexandre Julliard julliard at winehq.org
Mon Jul 26 13:22:40 CDT 2010


Module: wine
Branch: master
Commit: da2750384dd21868395d8d43807bef7c300c3cfa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=da2750384dd21868395d8d43807bef7c300c3cfa

Author: Marko Nikolic <grkoma at gmail.com>
Date:   Sat Jul 24 17:21:22 2010 +0200

advapi32: Removed sign comparison warning.

---

 dlls/advapi32/cred.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/advapi32/cred.c b/dlls/advapi32/cred.c
index 03d7622..0afbb63 100644
--- a/dlls/advapi32/cred.c
+++ b/dlls/advapi32/cred.c
@@ -925,7 +925,7 @@ static DWORD mac_delete_credential(LPCWSTR TargetName)
  *
  */
 
-static INT convert_PCREDENTIALW_to_PCREDENTIALA(const CREDENTIALW *CredentialW, PCREDENTIALA CredentialA, INT len)
+static INT convert_PCREDENTIALW_to_PCREDENTIALA(const CREDENTIALW *CredentialW, PCREDENTIALA CredentialA, DWORD len)
 {
     char *buffer;
     INT string_len;
@@ -1582,7 +1582,8 @@ BOOL WINAPI CredReadDomainCredentialsA(PCREDENTIAL_TARGET_INFORMATIONA TargetInf
                                        DWORD Flags, DWORD *Size, PCREDENTIALA **Credentials)
 {
     PCREDENTIAL_TARGET_INFORMATIONW TargetInformationW;
-    INT len, i;
+    INT len;
+    DWORD i;
     WCHAR *buffer, *end;
     BOOL ret;
     PCREDENTIALW* CredentialsW;




More information about the wine-cvs mailing list