Elizabeth Figura (@zfigura) commented about dlls/bluetoothapis/main.c:
+struct bluetooth_find_device_handle +{ + BLUETOOTH_DEVICE_SEARCH_PARAMS params; + BTH_DEVICE_INFO_LIST *device_list; + SIZE_T idx; +}; + +static const char *debugstr_BLUETOOTH_DEVICE_SEARCH_PARAMS( const BLUETOOTH_DEVICE_SEARCH_PARAMS *params ) +{ + if (!params || params->dwSize != sizeof( *params )) + return wine_dbg_sprintf("%p", params ); + + return wine_dbg_sprintf( "{ %ld %d %d %d %d %d %u %p }", params->dwSize, params->fReturnAuthenticated, + params->fReturnRemembered, params->fReturnUnknown, params->fReturnConnected, + params->fIssueInquiry, (UINT)params->cTimeoutMultiplier, params->hRadio );
You shouldn't need to cast any format strings. %u works for UCHAR without the cast here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7472#note_97034