[PATCH] d3dx10/tests: Use wide-char string literals.
Michael Stefaniuc
mstefani at winehq.org
Wed Sep 30 16:14:51 CDT 2020
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/d3dx10_43/tests/d3dx10.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/d3dx10_43/tests/d3dx10.c b/dlls/d3dx10_43/tests/d3dx10.c
index 897c54249b3..54cb4df3b7b 100644
--- a/dlls/d3dx10_43/tests/d3dx10.c
+++ b/dlls/d3dx10_43/tests/d3dx10.c
@@ -1340,7 +1340,6 @@ static void test_D3DX10CreateAsyncFileLoader(void)
static void test_D3DX10CreateAsyncResourceLoader(void)
{
- static const WCHAR resource_name[] = {'n','o','n','a','m','e',0};
ID3DX10DataLoader *loader;
HRESULT hr;
@@ -1359,7 +1358,7 @@ static void test_D3DX10CreateAsyncResourceLoader(void)
hr = D3DX10CreateAsyncResourceLoaderW(NULL, NULL, &loader);
ok(hr == D3DX10_ERR_INVALID_DATA, "Got unexpected hr %#x.\n", hr);
- hr = D3DX10CreateAsyncResourceLoaderW(NULL, resource_name, &loader);
+ hr = D3DX10CreateAsyncResourceLoaderW(NULL, L"noname", &loader);
ok(hr == D3DX10_ERR_INVALID_DATA, "Got unexpected hr %#x.\n", hr);
}
--
2.26.2
More information about the wine-devel
mailing list