Fixed two splint warnings