Fixed two compiler warnings on 64 bit systems.