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

cppcheck warning #25

Closed
valeriob01 opened this issue Jan 14, 2019 · 1 comment
Closed

cppcheck warning #25

valeriob01 opened this issue Jan 14, 2019 · 1 comment

Comments

@valeriob01
Copy link
Contributor

for (unsigned i = 0; i < deviceIds.size(); ++i) { printf("%2d : %s\n", i, getLongInfo(deviceIds[i]).c_str()); }

Shouldn't it be 'int' ?

@preda
Copy link
Owner

preda commented Jan 24, 2019

fixed. (unsigned matches the vector.size())

@preda preda closed this as completed Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants