diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-02-21 13:08:13 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-02-21 13:08:13 +0100 |
commit | e382cab17dd399ef851a4a2800a11dd7b9a69c15 (patch) | |
tree | ff54618a2124267ea45ecf227e0f43058cb34168 /src/geometry/vertex_buffer.cpp | |
parent | 4418f2d1c8f51ee268e2180c287abae0b8dbc574 (diff) | |
download | qtlocation-mapboxgl-e382cab17dd399ef851a4a2800a11dd7b9a69c15.tar.gz |
make implicit type conversions explicit
Diffstat (limited to 'src/geometry/vertex_buffer.cpp')
-rw-r--r-- | src/geometry/vertex_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/vertex_buffer.cpp b/src/geometry/vertex_buffer.cpp index 47fe73a2aa..0ce21fd51c 100644 --- a/src/geometry/vertex_buffer.cpp +++ b/src/geometry/vertex_buffer.cpp @@ -12,7 +12,7 @@ VertexBuffer::~VertexBuffer() { } } -uint32_t VertexBuffer::index() const { +size_t VertexBuffer::index() const { // We store 2 coordinates per vertex + 1 linesofar + 1 extrude coord pair == 4 (== 8 bytes) return array.size() / 2; } |