summaryrefslogtreecommitdiff
path: root/deps/v8/src/regexp/regexp-macro-assembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/regexp/regexp-macro-assembler.h')
-rw-r--r--deps/v8/src/regexp/regexp-macro-assembler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/regexp/regexp-macro-assembler.h b/deps/v8/src/regexp/regexp-macro-assembler.h
index 6fcd5ec482..65da431568 100644
--- a/deps/v8/src/regexp/regexp-macro-assembler.h
+++ b/deps/v8/src/regexp/regexp-macro-assembler.h
@@ -244,7 +244,7 @@ class NativeRegExpMacroAssembler: public RegExpMacroAssembler {
static const byte word_character_map[256];
static Address word_character_map_address() {
- return const_cast<Address>(&word_character_map[0]);
+ return reinterpret_cast<Address>(&word_character_map[0]);
}
static Result Execute(Code* code,