chg: fix compiler warnings