HMI1001: fix build error, cleanup compiler warnings.
2 files changed