diff --git a/dlls/advapi32/tests/crypt_lmhash.c b/dlls/advapi32/tests/crypt_lmhash.c index 847f3b0698c..3a2dd791186 100644 --- a/dlls/advapi32/tests/crypt_lmhash.c +++ b/dlls/advapi32/tests/crypt_lmhash.c @@ -314,10 +314,10 @@ static void test_SystemFunction005(void) char output[0x40], result[0x40]; int r; struct ustring in, key, out, res; - char *datastr = "twinkle twinkle little star"; - char *keystr = "byolnim"; + static char datastr[] = "twinkle twinkle little star"; + static char keystr[] = "byolnim"; - in.Buffer = (unsigned char *) datastr; + in.Buffer = (unsigned char *)datastr; in.Length = strlen(datastr); in.MaximumLength = 0;