[PATCH] D27268: [libcxx] [test] Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 2/4.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 23:26:56 PST 2016


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM nix inline comments. Please fix `MemCounter` to use `size_t` instead.



================
Comment at: test/support/count_new.hpp:62
     int delete_called;
     int last_new_size;
 
----------------
These should be changed to `size_t` instead.


https://reviews.llvm.org/D27268





More information about the cfe-commits mailing list