Frédéric Delanoy : rpcrt4: Constify a character string.
Module: wine Branch: master Commit: 44c1ba9f9ec3741b8a14830db35cf5c63855a8e6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=44c1ba9f9ec3741b8a14830db3... Author: Frédéric Delanoy <frederic.delanoy(a)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)
participants (1)
-
Alexandre Julliard