aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/ext
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-06-24 11:06:28 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-06-24 11:06:28 -0700
commit2dfcf14705f24bdf6d95d1b16265beb52fe33b02 (patch)
treeba003954702095cc84dcf52fabc60e9d9c020f0d /src/node/ext
parent9cb96ba4f05a2e9df2ad038f24f53a8e5eafd9c3 (diff)
Fix Node Windows build error
Diffstat (limited to 'src/node/ext')
-rw-r--r--src/node/ext/node_grpc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/ext/node_grpc.cc b/src/node/ext/node_grpc.cc
index ce988f9dfa..745b5023d5 100644
--- a/src/node/ext/node_grpc.cc
+++ b/src/node/ext/node_grpc.cc
@@ -265,8 +265,8 @@ void InitLogConstants(Local<Object> exports) {
Nan::Set(log_verbosity, Nan::New("DEBUG").ToLocalChecked(), DEBUG);
Local<Value> INFO(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_INFO));
Nan::Set(log_verbosity, Nan::New("INFO").ToLocalChecked(), INFO);
- Local<Value> ERROR(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_ERROR));
- Nan::Set(log_verbosity, Nan::New("ERROR").ToLocalChecked(), ERROR);
+ Local<Value> LOG_ERROR(Nan::New<Uint32, uint32_t>(GPR_LOG_SEVERITY_ERROR));
+ Nan::Set(log_verbosity, Nan::New("ERROR").ToLocalChecked(), LOG_ERROR);
}
NAN_METHOD(MetadataKeyIsLegal) {