advapi32: Constify a character string.
This commit is contained in:
parent
7ef6e00633
commit
b160c733a8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue