apple_input: Fix a signed-unsigned mismatch warning