summaryrefslogtreecommitdiffstats
path: root/ppapi/tests/test_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/tests/test_buffer.cc')
-rw-r--r--ppapi/tests/test_buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/tests/test_buffer.cc b/ppapi/tests/test_buffer.cc
index c920271..bcef727 100644
--- a/ppapi/tests/test_buffer.cc
+++ b/ppapi/tests/test_buffer.cc
@@ -43,7 +43,7 @@ std::string TestBuffer::TestInitToZero() {
// Now check that everything is 0.
unsigned char* bytes = static_cast<unsigned char *>(buffer.data());
- for (int index = 0; index < buffer.size(); index++) {
+ for (uint32_t index = 0; index < buffer.size(); index++) {
if (bytes[index] != 0)
return "Buffer isn't entirely zero";
}