Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index fa4c8f1f0e5010fd464aa4f827381baee16f6ea5..ba6c6f5c9ce11169e7e6f1ff396b7f1e929157aa 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -1630,7 +1630,7 @@ GVN_UNTRACKED_FLAG_LIST(DECLARE_FLAG) |
#else |
OS::SNPrintF(buffer, "0x%08X", flags.ToIntegral()); |
#endif |
- uint32_t string_len = strlen(underlying_buffer) + 1; |
+ size_t string_len = strlen(underlying_buffer) + 1; |
ASSERT(string_len <= sizeof(underlying_buffer)); |
char* result = new char[strlen(underlying_buffer) + 1]; |
memcpy(result, underlying_buffer, string_len); |