From 902b2a70a8c95efb1a6c350e27edc9ae32d7adad Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 17 Jul 2006 07:47:20 +0100 Subject: [PATCH] advapi32/tests: Write-strings warnings fix. --- dlls/advapi32/tests/crypt_lmhash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;