diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-30 23:37:44 +0300 |
commit | 31338c5d88264422da7ac1d2e8672b3ef45b54b0 (patch) | |
tree | d94599924104a531121e73eeccd77813090ef29a /platform/node | |
parent | 4362e27ab2e3d4e6ac94ea5eb13014594c2c68d9 (diff) | |
download | qtlocation-mapboxgl-31338c5d88264422da7ac1d2e8672b3ef45b54b0.tar.gz |
[core] Fix google-readability-casting errors
As reported by clang-tidy-8.
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/src/node_expression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_expression.cpp b/platform/node/src/node_expression.cpp index 7e59847da9..f2feaf8ea4 100644 --- a/platform/node/src/node_expression.cpp +++ b/platform/node/src/node_expression.cpp @@ -94,7 +94,7 @@ void NodeExpression::Parse(const Nan::FunctionCallbackInfo<v8::Value>& info) { Nan::Set(err, Nan::New("error").ToLocalChecked(), Nan::New(error.message.c_str()).ToLocalChecked()); - Nan::Set(result, Nan::New((uint32_t)i), err); + Nan::Set(result, Nan::New(static_cast<uint32_t>(i)), err); } info.GetReturnValue().Set(result); }; |