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 signed/unsigned mismatch on VC++ builds #348

Merged
merged 1 commit into from
Feb 24, 2016
Merged

Fix signed/unsigned mismatch on VC++ builds #348

merged 1 commit into from
Feb 24, 2016

Conversation

randomascii
Copy link
Contributor

This fixes a signed/unsigned mismatch on Windows/VC++ builds with VC++ 2013 and 2015. It happens when we do a 64-bit build of leveldb_skiplist_test, with this command:

ninja -C out\Release_x64 leveldb_skiplist_test

The warning is:

third_party\leveldatabase\src\db\skiplist_test.cc(252): warning C4018: '>': signed/unsigned mismatch

I am a Google employee and therefore approved for submitting PRs to this repo.

@ralphtheninja
Copy link
Contributor

I am a Google employee and therefore approved for submitting PRs to this repo.

I'm not a google employee and I don't need to be approved to submit PRs to this repo ;)

cmumford added a commit that referenced this pull request Feb 24, 2016
Fix signed/unsigned mismatch on VC++ builds
@cmumford cmumford merged commit 7306ef8 into google:master Feb 24, 2016
maochongxin pushed a commit to maochongxin/leveldb that referenced this pull request Jul 21, 2022
This is needed for examining the values of user counters (needed
for google#348). It is also needed for checking the values of standard
benchmark results like items_processed or complexities (for example,
checking the standard deviation is needed for unit testing google#357
as discussed in google#362).
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.

4 participants