Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: src/gpu/gr_unittests.cpp

Issue 27343002: Second wave of Win64 warning cleanup (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: switched count_glyphs back to int Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrTextStrike_impl.h ('k') | src/images/SkImageDecoder_libwebp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gr_unittests.cpp
===================================================================
--- src/gpu/gr_unittests.cpp (revision 11775)
+++ src/gpu/gr_unittests.cpp (working copy)
@@ -31,8 +31,8 @@
1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99
};
- for (size_t n = 0; n < GR_ARRAY_COUNT(array); n++) {
- for (size_t i = 0; i < n; i++) {
+ for (int n = 0; n < static_cast<int>(GR_ARRAY_COUNT(array)); ++n) {
+ for (int i = 0; i < n; i++) {
int index = GrTBSearch<int, int>(array, n, array[i]);
SkASSERT(index == (int) i);
index = GrTBSearch<int, int>(array, n, -array[i]);
« no previous file with comments | « src/gpu/GrTextStrike_impl.h ('k') | src/images/SkImageDecoder_libwebp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698