connectivity (Mac): loplugin:cstylecast

Change-Id: Icb680130bf5123029fa3880c8f9865a2b71facfd