Fixing missing parameter type

This fixes warning about multiple length methods in Xcode.