diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-09-28 12:52:41 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-09-30 17:01:05 +0200 |
commit | b470a655825ae3b805734aae3e1d49b9014a7be0 (patch) | |
tree | 45392d51c58110336e6f169a1c923581e2c8872f /src/mbgl/geometry/line_buffer.cpp | |
parent | d4888cb39d0c52e23068b579af6beeb04ecb5714 (diff) | |
download | qtlocation-mapboxgl-b470a655825ae3b805734aae3e1d49b9014a7be0.tar.gz |
[build] add back -Werror
Diffstat (limited to 'src/mbgl/geometry/line_buffer.cpp')
-rw-r--r-- | src/mbgl/geometry/line_buffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/geometry/line_buffer.cpp b/src/mbgl/geometry/line_buffer.cpp index 523b767e25..0eabf8e1e9 100644 --- a/src/mbgl/geometry/line_buffer.cpp +++ b/src/mbgl/geometry/line_buffer.cpp @@ -4,8 +4,8 @@ namespace mbgl { -size_t LineVertexBuffer::add(vertex_type x, vertex_type y, float ex, float ey, bool tx, bool ty, int8_t dir, int32_t linesofar) { - size_t idx = index(); +uint32_t LineVertexBuffer::add(vertex_type x, vertex_type y, float ex, float ey, bool tx, bool ty, int8_t dir, int32_t linesofar) { + uint32_t idx = index(); void *data = addElement(); int16_t *coords = static_cast<int16_t *>(data); |