Fix compile warnings in mosc.c and mosc3.c