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

Enums as argument in fmt::sprintf throws fmt::FormatError #131

Closed
Naios opened this issue Mar 10, 2015 · 2 comments
Closed

Enums as argument in fmt::sprintf throws fmt::FormatError #131

Naios opened this issue Mar 10, 2015 · 2 comments

Comments

@Naios
Copy link
Contributor

Naios commented Mar 10, 2015

Rev: a037a82

If i use an enum as argument with formatter %u, %i and %d in sprintf, fmt::FormatError is thrown because it isn't autoconverted to unsigned int.

Using msvc 12.

@vitaut
Copy link
Contributor

vitaut commented Mar 10, 2015

Thanks for the bug report. Fixed in 5821aec.

@vitaut vitaut closed this as completed Mar 10, 2015
@Naios
Copy link
Contributor Author

Naios commented Mar 10, 2015

Thanks a lot for your fast fix 👍

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