diff --git a/atom/common/native_mate_converters/v8_value_converter.cc b/atom/common/native_mate_converters/v8_value_converter.cc index 77360ee35be5..c8d85b0583d0 100644 --- a/atom/common/native_mate_converters/v8_value_converter.cc +++ b/atom/common/native_mate_converters/v8_value_converter.cc @@ -244,7 +244,7 @@ v8::Local V8ValueConverter::ToV8Object( v8::Local V8ValueConverter::ToArrayBuffer( v8::Isolate* isolate, const base::Value* value) const { - const char* data = value->GetBlob().data(); + const auto* data = reinterpret_cast(value->GetBlob().data()); size_t length = value->GetBlob().size(); if (NodeBindings::IsInitialized()) {