Skip to content

Commit

Permalink
vrclient: Fix incorrect sized int type for VRInputValueHandle_t.
Browse files Browse the repository at this point in the history
Fixes a regression in Racket: NX from 9b0930f.

CW-Bug-Id: #22729
CW-Bug-Id: #23147
  • Loading branch information
rbernon authored and ivyl committed Feb 15, 2024
1 parent 3784d63 commit 29e9357
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vrclient_x64/vrinput_manual.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(vrclient);

#ifndef __x86_64__
static uint32_t ivrinput_get_digital_action_data( uint64_t action_handle, void *action_data, uint32_t action_data_size,
uint32_t restrict_to_device, unsigned int version )
uint64_t restrict_to_device, unsigned int version )
{
/* Digital action state change fixup hack. */
w_InputDigitalActionData_t *data = action_data;
Expand Down Expand Up @@ -67,7 +67,7 @@ static uint32_t ivrinput_get_digital_action_data( uint64_t action_handle, void *

uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action,
w_InputDigitalActionData_t *pActionData,
uint32_t unActionDataSize, uint32_t ulRestrictToDevice )
uint32_t unActionDataSize, uint64_t ulRestrictToDevice )
{
w_InputDigitalActionData_t w_pActionData;
struct IVRInput_IVRInput_004_GetDigitalActionData_params params =
Expand Down Expand Up @@ -95,7 +95,7 @@ uint32_t __thiscall winIVRInput_IVRInput_004_GetDigitalActionData( struct w_stea

uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action,
w_InputDigitalActionData_t *pActionData,
uint32_t unActionDataSize, uint32_t ulRestrictToDevice )
uint32_t unActionDataSize, uint64_t ulRestrictToDevice )
{
w_InputDigitalActionData_t w_pActionData;
struct IVRInput_IVRInput_005_GetDigitalActionData_params params =
Expand Down Expand Up @@ -123,7 +123,7 @@ uint32_t __thiscall winIVRInput_IVRInput_005_GetDigitalActionData( struct w_stea

uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action,
w_InputDigitalActionData_t *pActionData,
uint32_t unActionDataSize, uint32_t ulRestrictToDevice )
uint32_t unActionDataSize, uint64_t ulRestrictToDevice )
{
w_InputDigitalActionData_t w_pActionData;
struct IVRInput_IVRInput_006_GetDigitalActionData_params params =
Expand Down Expand Up @@ -151,7 +151,7 @@ uint32_t __thiscall winIVRInput_IVRInput_006_GetDigitalActionData( struct w_stea

uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action,
w_InputDigitalActionData_t *pActionData,
uint32_t unActionDataSize, uint32_t ulRestrictToDevice )
uint32_t unActionDataSize, uint64_t ulRestrictToDevice )
{
w_InputDigitalActionData_t w_pActionData;
struct IVRInput_IVRInput_007_GetDigitalActionData_params params =
Expand Down Expand Up @@ -179,7 +179,7 @@ uint32_t __thiscall winIVRInput_IVRInput_007_GetDigitalActionData( struct w_stea

uint32_t __thiscall winIVRInput_IVRInput_010_GetDigitalActionData( struct w_steam_iface *_this, uint64_t action,
w_InputDigitalActionData_t *pActionData,
uint32_t unActionDataSize, uint32_t ulRestrictToDevice )
uint32_t unActionDataSize, uint64_t ulRestrictToDevice )
{
w_InputDigitalActionData_t w_pActionData;
struct IVRInput_IVRInput_010_GetDigitalActionData_params params =
Expand Down

0 comments on commit 29e9357

Please sign in to comment.