1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

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:
Jung-uk Kim 2013-07-04 05:58:53 +00:00
parent 3eebd44d0c
commit 54eb21db1f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252684

View File

@ -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);