Gerald Pfeifer : crypt32: Fix type of empty in encodeBase64W().
Alexandre Julliard
julliard at winehq.org
Fri Mar 26 12:11:51 CDT 2010
Module: wine
Branch: master
Commit: ca41486b8ac39a8d3ee30fdda7eef300f93b8f6f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ca41486b8ac39a8d3ee30fdda7eef300f93b8f6f
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Thu Mar 25 22:55:14 2010 +0100
crypt32: Fix type of empty in encodeBase64W().
---
dlls/crypt32/base64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/base64.c b/dlls/crypt32/base64.c
index 2996ba3..7a23dd9 100644
--- a/dlls/crypt32/base64.c
+++ b/dlls/crypt32/base64.c
@@ -365,7 +365,7 @@ static LONG encodeBase64W(const BYTE *in_buf, int in_len, LPCWSTR sep,
static BOOL BinaryToBase64W(const BYTE *pbBinary,
DWORD cbBinary, DWORD dwFlags, LPWSTR pszString, DWORD *pcchString)
{
- static const WCHAR crlf[] = { '\r','\n',0 }, lf[] = { '\n',0 }, empty = {0};
+ static const WCHAR crlf[] = { '\r','\n',0 }, lf[] = { '\n',0 }, empty[] = {0};
BOOL ret = TRUE;
LPCWSTR header = NULL, trailer = NULL, sep;
DWORD charsNeeded;
More information about the wine-cvs
mailing list