rpcrt4: Constify a character string
Frédéric Delanoy
frederic.delanoy at gmail.com
Tue Dec 17 15:17:40 CST 2013
---
dlls/rpcrt4/rpc_transport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
1.8.5
More information about the wine-patches
mailing list