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

Switch a local from long to size_t for MSVC #289

Closed
wants to merge 1 commit into from

Conversation

Orvid
Copy link
Contributor

@Orvid Orvid commented Jul 24, 2015

Because MSVC would try to calculate the mmapLength as a long value, which isn't correct, and MSVC issues multiple warnings if you try to do it.

Because MSVC would try to calculate the mmapLength as a long value, which isn't correct, and MSVC issues multiple warnings if you try to do it.
@ghost ghost closed this in 37cd970 Sep 8, 2015
korovkin pushed a commit to korovkin/folly that referenced this pull request Oct 1, 2015
Summary: Because MSVC would try to calculate the mmapLength as a long value, which isn't correct, and MSVC issues multiple warnings if you try to do it.
Closes facebook#289

Reviewed By: @yfeldblum

Differential Revision: D2419061

Pulled By: @JoelMarcey
This pull request was closed.
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.

None yet

2 participants