HomeFreeBSD

cam(4): Fix some warnings

Description

cam(4): Fix some warnings

When bcopy is treated as memcpy/memmove, Clang produces warnings that the
size argument doesn't match the type of the source. This is true, it
doesn't match; we're aliasing the source.

Explicitly cast the source pointer to the expected type to remove the
warning.

No functional change.

Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS323256: MFC r322329:
Branches
Unknown
Tags
Unknown