ao_companion: Make time conversion to 16-bits in companion protocol explicit
authorKeith Packard <keithp@keithp.com>
Fri, 28 Jan 2022 17:26:08 +0000 (09:26 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 01:26:49 +0000 (17:26 -0800)
commitc783aafd89777626c362e15c47360b399d03c45d
tree41ad17ebe6f5f96d4a939ee70968434cca0481a4
parentfadb563f8aeeee895a7232bb71fa5bade6ef66f0
ao_companion: Make time conversion to 16-bits in companion protocol explicit

Companion protocol only passes low 16-bits. Also add explicit casts for -Wconversion

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_companion.c