From 51b6dc57aefbf90040ab4b0d50b75042a4690f5e Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Tue, 18 Nov 2003 05:57:28 +0000 Subject: [PATCH] revert part of last checkin. --- security/manager/ssl/src/nsNTLMAuthModule.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/manager/ssl/src/nsNTLMAuthModule.cpp b/security/manager/ssl/src/nsNTLMAuthModule.cpp index d197ba3386e..2a51e6c3470 100644 --- a/security/manager/ssl/src/nsNTLMAuthModule.cpp +++ b/security/manager/ssl/src/nsNTLMAuthModule.cpp @@ -535,7 +535,7 @@ GenerateType3Msg(const nsString &domain, ucsDomainBuf = domain; domainPtr = ucsDomainBuf.get(); domainLen = ucsDomainBuf.Length() * 2; - WriteUnicodeLE(domainPtr, (const PRUnichar *) domainPtr, domainLen); + WriteUnicodeLE((void *) domainPtr, (const PRUnichar *) domainPtr, domainLen); #else domainPtr = domain.get(); domainLen = domain.Length() * 2; @@ -557,7 +557,7 @@ GenerateType3Msg(const nsString &domain, ucsUserBuf = username; userPtr = ucsUserBuf.get(); userLen = ucsUserBuf.Length() * 2; - WriteUnicodeLE(userPtr, (const PRUnichar *) userPtr, userLen); + WriteUnicodeLE((void *) userPtr, (const PRUnichar *) userPtr, userLen); #else userPtr = username.get(); userLen = username.Length() * 2; @@ -584,7 +584,7 @@ GenerateType3Msg(const nsString &domain, hostPtr = ucsHostBuf.get(); hostLen = ucsHostBuf.Length() * 2; #ifdef IS_BIG_ENDIAN - WriteUnicodeLE(hostPtr, (const PRUnichar *) hostPtr, hostLen); + WriteUnicodeLE((void *) hostPtr, (const PRUnichar *) hostPtr, hostLen); #endif } else