Fixed two hidden compiler warnings