Corrected a mismatch in a function singnature