Commit 0993244b authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dinput: Remove unneeded address-of operators from array names.

parent 2b8bf17a
......@@ -875,7 +875,7 @@ HRESULT linuxinput_get_info_A(
info->dwDynamicParams = info->dwStaticParams;
/* yes, this is windows behavior (print the GUID_Name for name) */
strcpy((char*)&(info->tszName), _dump_dinput_GUID(rguid));
strcpy((char*)info->tszName, _dump_dinput_GUID(rguid));
return DI_OK;
}
......@@ -910,7 +910,7 @@ HRESULT linuxinput_get_info_W(
/* yes, this is windows behavior (print the GUID_Name for name) */
MultiByteToWideChar(CP_ACP, 0, _dump_dinput_GUID(rguid), -1,
(WCHAR*)&(info->tszName), MAX_PATH);
(WCHAR*)info->tszName, MAX_PATH);
return DI_OK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment