fix arm compiler warnings