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

do potentially precision-losing conversions explicitly #582

Merged
merged 1 commit into from
Mar 13, 2016
Merged

do potentially precision-losing conversions explicitly #582

merged 1 commit into from
Mar 13, 2016

Conversation

ktrushin
Copy link
Contributor

Some type conversions which may lead to precision loss especially on 64-bit platforms are done explicitly. As a result, including rapidjson as a thirdparty into another project which uses -Wconversion flag (for g++ and clang) doesn't break compilation of that project.

miloyip added a commit that referenced this pull request Mar 13, 2016
do potentially precision-losing conversions explicitly
@miloyip miloyip merged commit ca07fe2 into Tencent:master Mar 13, 2016
@miloyip
Copy link
Collaborator

miloyip commented Mar 13, 2016

Thank you

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.

2 participants