Index: tests/GpuLayerCacheTest.cpp |
diff --git a/tests/GpuLayerCacheTest.cpp b/tests/GpuLayerCacheTest.cpp |
index cba331f8b42b3a6da493ca727a95584a3968f80d..a149c367a046aa87d8ae699a3eaab872d9e4d015 100644 |
--- a/tests/GpuLayerCacheTest.cpp |
+++ b/tests/GpuLayerCacheTest.cpp |
@@ -94,7 +94,7 @@ static void lock_layer(skiatest::Reporter* reporter, |
// locking & unlocking textures). |
// TODO: need to add checks on VRAM usage! |
DEF_GPUTEST(GpuLayerCache, reporter, factory) { |
- static const int kInitialNumLayers = 5; |
+ static const unsigned kInitialNumLayers = 5; |
for (int i= 0; i < GrContextFactory::kGLContextTypeCnt; ++i) { |
GrContextFactory::GLContextType glCtxType = (GrContextFactory::GLContextType) i; |