Rewrite GID output in ibv_devinfo to avoid type punning warnings

Avoid casting from uint8_t* to uint16_t* and then dereferencing to avoid
warnings about type punning.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
1 file changed