Avoid C-style cast warnings am: cc8d9f9fcb am: ac416b9ed3 am: 9a786a3044
am: 2b932a434e
Change-Id: I6678be57a6905f7c0e490d4b55874107bf8d6e6d
This commit is contained in:
@@ -682,7 +682,7 @@ static inline int audio_hw_device_open(const struct hw_module_t* module,
|
||||
struct audio_hw_device** device)
|
||||
{
|
||||
return module->methods->open(module, AUDIO_HARDWARE_INTERFACE,
|
||||
(struct hw_device_t**)device);
|
||||
TO_HW_DEVICE_T_OPEN(device));
|
||||
}
|
||||
|
||||
static inline int audio_hw_device_close(struct audio_hw_device* device)
|
||||
|
||||
Reference in New Issue
Block a user