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 IVRNotifications_IVRNotifications_001_GetErrorString( void *args )
{
struct IVRNotifications_IVRNotifications_001_GetErrorString_params *params = (struct IVRNotifications_IVRNotifications_001_GetErrorString_params *)args;
struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side;
params->_ret = (uint32_t)iface->GetErrorString( params->error, params->pchBuffer, params->unBufferSize );
params->_ret = iface->GetErrorString( params->error, params->pchBuffer, params->unBufferSize );
return 0;
}
@ -13,7 +13,7 @@ NTSTATUS IVRNotifications_IVRNotifications_001_CreateNotification( void *args )
{
struct IVRNotifications_IVRNotifications_001_CreateNotification_params *params = (struct IVRNotifications_IVRNotifications_001_CreateNotification_params *)args;
struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side;
params->_ret = (uint32_t)iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->strType, params->strText, params->strCategory, params->photo, params->notificationId );
params->_ret = iface->CreateNotification( params->ulOverlayHandle, params->ulUserValue, params->strType, params->strText, params->strCategory, params->photo, params->notificationId );
return 0;
}
@ -21,7 +21,7 @@ NTSTATUS IVRNotifications_IVRNotifications_001_DismissNotification( void *args )
{
struct IVRNotifications_IVRNotifications_001_DismissNotification_params *params = (struct IVRNotifications_IVRNotifications_001_DismissNotification_params *)args;
struct u_IVRNotifications_IVRNotifications_001 *iface = (struct u_IVRNotifications_IVRNotifications_001 *)params->linux_side;
params->_ret = (uint32_t)iface->DismissNotification( params->notificationId );
params->_ret = iface->DismissNotification( params->notificationId );
return 0;
}