vrclient: Remove unnecessary return value cast.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon
2023-10-04 22:05:02 +02:00
committed by Arkadiusz Hiler
parent f5ef49cf29
commit 5190d26e7e
107 changed files with 2790 additions and 2790 deletions

View File

@ -5,7 +5,7 @@ NTSTATUS IVRChaperone_IVRChaperone_004_GetCalibrationState( void *args )
{
struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params *params = (struct IVRChaperone_IVRChaperone_004_GetCalibrationState_params *)args;
struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side;
params->_ret = (uint32_t)iface->GetCalibrationState( );
params->_ret = iface->GetCalibrationState( );
return 0;
}
@ -13,7 +13,7 @@ NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaSize( void *args )
{
struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *params = (struct IVRChaperone_IVRChaperone_004_GetPlayAreaSize_params *)args;
struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side;
params->_ret = (bool)iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ );
params->_ret = iface->GetPlayAreaSize( params->pSizeX, params->pSizeZ );
return 0;
}
@ -21,7 +21,7 @@ NTSTATUS IVRChaperone_IVRChaperone_004_GetPlayAreaRect( void *args )
{
struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *params = (struct IVRChaperone_IVRChaperone_004_GetPlayAreaRect_params *)args;
struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side;
params->_ret = (bool)iface->GetPlayAreaRect( params->rect );
params->_ret = iface->GetPlayAreaRect( params->rect );
return 0;
}
@ -53,7 +53,7 @@ NTSTATUS IVRChaperone_IVRChaperone_004_AreBoundsVisible( void *args )
{
struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params *params = (struct IVRChaperone_IVRChaperone_004_AreBoundsVisible_params *)args;
struct u_IVRChaperone_IVRChaperone_004 *iface = (struct u_IVRChaperone_IVRChaperone_004 *)params->linux_side;
params->_ret = (bool)iface->AreBoundsVisible( );
params->_ret = iface->AreBoundsVisible( );
return 0;
}