Andrew Talbot : dinput: Remove unneeded address-of operators from array names.
Module: wine Branch: master Commit: 0993244b08df3edbc849fadd35b120c2c9526fe6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0993244b08df3edbc849fadd35... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Wed Jul 9 20:36:48 2008 +0100 dinput: Remove unneeded address-of operators from array names. --- dlls/dinput/effect_linuxinput.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dinput/effect_linuxinput.c b/dlls/dinput/effect_linuxinput.c index 1fef4cd..9b1cb1b 100644 --- a/dlls/dinput/effect_linuxinput.c +++ b/dlls/dinput/effect_linuxinput.c @@ -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; }
participants (1)
-
Alexandre Julliard