Michael Stefaniuc : d3dx10/tests: Use wide-char string literals.
Alexandre Julliard
julliard at winehq.org
Thu Oct 1 15:50:30 CDT 2020
Module: wine
Branch: master
Commit: 6325887e3de4e96d2b7e173c878251a562a84a1a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6325887e3de4e96d2b7e173c878251a562a84a1a
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Wed Sep 30 23:14:51 2020 +0200
d3dx10/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard 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 897c54249b..54cb4df3b7 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);
}
More information about the wine-cvs
mailing list