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

fix -Wsign-conversion warnings #2937

Merged
merged 1 commit into from Jun 11, 2022
Merged

fix -Wsign-conversion warnings #2937

merged 1 commit into from Jun 11, 2022

Conversation

JurajX
Copy link
Contributor

@JurajX JurajX commented Jun 11, 2022

Fixing the two following warnings:
include/fmt/core.h:2890:40: warning: conversion to 'long unsigned int' from 'const int' may change the sign of the result [-Wsign-conversion]
2890 | parse_func parse_funcs_[num_args > 0 ? num_args : 1];
include/fmt/core.h:2891:28: warning: conversion to 'long unsigned int' from 'const int' may change the sign of the result [-Wsign-conversion]
2891 | type types_[num_args > 0 ? num_args : 1];

@vitaut vitaut merged commit 8e47cfd into fmtlib:master Jun 11, 2022
@vitaut
Copy link
Contributor

vitaut commented Jun 11, 2022

Thanks

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

Successfully merging this pull request may close these issues.

None yet

2 participants