diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:20:33 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-30 23:37:44 +0300 |
commit | b4e9c0bd119a154f45827d1a62ebaf8407758779 (patch) | |
tree | 96e7a2948f28740bd68ade0dbaa8354b75a5afa7 /platform/node/src/node_map.cpp | |
parent | 31338c5d88264422da7ac1d2e8672b3ef45b54b0 (diff) | |
download | qtlocation-mapboxgl-b4e9c0bd119a154f45827d1a62ebaf8407758779.tar.gz |
[core] Fix bugprone-too-small-loop-variable errors
As reported by clang-tidy-8.
Diffstat (limited to 'platform/node/src/node_map.cpp')
-rw-r--r-- | platform/node/src/node_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_map.cpp b/platform/node/src/node_map.cpp index 550d3d594b..2be33150ec 100644 --- a/platform/node/src/node_map.cpp +++ b/platform/node/src/node_map.cpp @@ -1374,7 +1374,7 @@ void NodeMap::QueryRenderedFeatures(const Nan::FunctionCallbackInfo<v8::Value>& } auto array = Nan::New<v8::Array>(); - for (unsigned int i = 0; i < optional.size(); i++) { + for (std::size_t i = 0; i < optional.size(); i++) { array->Set(i, toJS(optional[i])); } info.GetReturnValue().Set(array); |