From 46fc9c2e11700496b67ba98e03ba27595e535529 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 24 Feb 2007 21:55:12 +0000 Subject: [PATCH] wininet: Constify some variables. --- dlls/wininet/ftp.c | 2 +- dlls/wininet/http.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 05fd301a9c1..81ebdb94f09 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -95,7 +95,7 @@ typedef enum { FTP_CMD_QUIT, } FTP_COMMAND; -static const CHAR *szFtpCommands[] = { +static const CHAR *const szFtpCommands[] = { "ACCT", "CWD", "DELE", diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 17e48c9f632..08c057d85b4 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -851,7 +851,7 @@ end: static UINT HTTP_EncodeBase64( LPCSTR bin, unsigned int len, LPWSTR base64 ) { UINT n = 0, x; - static LPCSTR HTTP_Base64Enc = + static const CHAR HTTP_Base64Enc[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; while( len > 0 ) -- 2.11.4.GIT