eliminate compiler warnings on lpc-1343