=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: rpcrt4: Constify a character string.

Alexandre Julliard julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Dec 17 22:17:40 2013 +0100

rpcrt4: Constify a character string.

---

 dlls/rpcrt4/rpc_transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index e8bdd49..c073a95 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -2383,7 +2383,7 @@ static RPC_STATUS rpcrt4_http_prepare_out_pipe(HINTERNET out_request, RpcHttpAsy
 
 static UINT encode_base64(const char *bin, unsigned int len, WCHAR *base64)
 {
-    static char enc[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+    static const char enc[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
     UINT i = 0, x;
 
     while (len > 0)




More information about the wine-cvs mailing list