advapi32: Constify a character string.

This commit is contained in:
Frédéric Delanoy 2013-12-16 23:26:07 +01:00 committed by Alexandre Julliard
parent 7ef6e00633
commit b160c733a8
1 changed files with 1 additions and 1 deletions

View File

@ -1960,7 +1960,7 @@ BOOL WINAPI CredMarshalCredentialA( CRED_MARSHAL_TYPE type, PVOID cred, LPSTR *o
static UINT cred_encode( const char *bin, unsigned int len, WCHAR *cred ) static UINT cred_encode( const char *bin, unsigned int len, WCHAR *cred )
{ {
static char enc[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789#-"; static const char enc[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789#-";
UINT n = 0, x; UINT n = 0, x;
while (len > 0) while (len > 0)