Fix type confusion in nc_match_single()