pasim: fixed some compiler warnings