Make it little bit more C++ friendly. This explicit casting fixes some
ports, emulators/virtualbox-ose and sysutils/smartmontools for example.
This commit is contained in:
parent
3eebd44d0c
commit
54eb21db1f
@ -1306,7 +1306,7 @@ cam_set_ccbstatus(union ccb *ccb, cam_status status)
|
||||
static __inline cam_status
|
||||
cam_ccb_status(union ccb *ccb)
|
||||
{
|
||||
return (ccb->ccb_h.status & CAM_STATUS_MASK);
|
||||
return ((cam_status)(ccb->ccb_h.status & CAM_STATUS_MASK));
|
||||
}
|
||||
|
||||
void cam_calc_geometry(struct ccb_calc_geometry *ccg, int extended);
|
||||
|
Loading…
Reference in New Issue
Block a user