Index: src/regexp-stack.h |
diff --git a/src/regexp-stack.h b/src/regexp-stack.h |
index 319ab2894c8c9f1dd9c13b847948ace48ec006e8..fbaa6fbb51477adf4c0f1bff266c625864ace431 100644 |
--- a/src/regexp-stack.h |
+++ b/src/regexp-stack.h |
@@ -68,7 +68,9 @@ class RegExpStack { |
static Address EnsureCapacity(size_t size); |
// Thread local archiving. |
- static size_t ArchiveSpacePerThread() { return sizeof(thread_local_); } |
+ static int ArchiveSpacePerThread() { |
+ return static_cast<int>(sizeof(thread_local_)); |
+ } |
static char* ArchiveStack(char* to); |
static char* RestoreStack(char* from); |
static void FreeThreadResources() { thread_local_.Free(); } |