Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uvc: fix return check on scandir #62

Merged
merged 1 commit into from
Oct 28, 2021
Merged

uvc: fix return check on scandir #62

merged 1 commit into from
Oct 28, 2021

Conversation

mgrzeschik
Copy link
Contributor

The function init_frames is falsely checking for the negative
result from scandir on an unsigned variable. This will never
be true.

Signed-off-by: Michael Grzeschik [email protected]

The function init_frames is falsely checking for the negative
result from scandir on an unsigned variable. This will never
be true.

Signed-off-by: Michael Grzeschik <[email protected]>
@pabs3
Copy link
Member

pabs3 commented Oct 28, 2021 via email

@mgrzeschik mgrzeschik merged commit ed1fb6d into master Oct 28, 2021
@pabs3 pabs3 deleted the uvc-fix branch October 28, 2021 08:44
@mgrzeschik
Copy link
Contributor Author

I will fix the snprintf unsigned cases. Thanks for pointing them out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants