fix some compiler warnings in ras/alps