/* invoke the each callback with value */
SYS_G_LIST_FOREACH_SAFE(device_cb_list[type], elem, elem_next, cb_info)
- cb_info->cb(type, (void*)val, cb_info->data);
+ cb_info->cb(type, (void*)(intptr_t)val, cb_info->data);
}
//LCOV_EXCL_STOP
/* invoke the each callback with value */
SYS_G_LIST_FOREACH_SAFE(device_cb_list[type], elem, elem_next, cb_info)
- cb_info->cb(type, (void*)val, cb_info->data);
+ cb_info->cb(type, (void*)(intptr_t)val, cb_info->data);
}
//LCOV_EXCL_STOP
/* invoke the each callback with value */
SYS_G_LIST_FOREACH_SAFE(device_cb_list[type], elem, elem_next, cb_info)
- cb_info->cb(type, (void*)status, cb_info->data);
+ cb_info->cb(type, (void*)(intptr_t)status, cb_info->data);
}
//LCOV_EXCL_STOP
/* invoke the each callback with value */
SYS_G_LIST_FOREACH_SAFE(device_cb_list[type], elem, elem_next, cb_info)
- cb_info->cb(type, (void*)val, cb_info->data);
+ cb_info->cb(type, (void*)(intptr_t)val, cb_info->data);
}
//LCOV_EXCL_STOP