diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-14 17:53:04 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-15 18:41:56 +0300 |
commit | e83b12c387ff74fb77e6771d41b76a86a6b5b9ff (patch) | |
tree | 2bf2cc61cca9bf21b965379bc9490618fceafb64 /platform/node | |
parent | 24b66bc8cdd40a52e08d198c063daa3e1f6be92a (diff) | |
download | qtlocation-mapboxgl-e83b12c387ff74fb77e6771d41b76a86a6b5b9ff.tar.gz |
[node] Narrow conversion (double → float) caught by GCC
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/src/node_style.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/node/src/node_style.hpp b/platform/node/src/node_style.hpp index b81d14c700..34b8b96a99 100644 --- a/platform/node/src/node_style.hpp +++ b/platform/node/src/node_style.hpp @@ -28,7 +28,7 @@ struct ValueConverter<float> { return {}; } - return { value->NumberValue() }; + return { float(value->NumberValue()) }; } }; |