From 3b26177e9d3d9ed87f96ac33e7ed74bc7653f661 Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Thu, 13 Jul 2017 11:43:48 -0700 Subject: [test] Fix undefined behavior warning: quads.test.cpp used a bin with unsupported x/y coordinates. Issue #9499. --- test/text/quads.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/text/quads.test.cpp b/test/text/quads.test.cpp index f24b01ca87..682ba9d795 100644 --- a/test/text/quads.test.cpp +++ b/test/text/quads.test.cpp @@ -13,7 +13,7 @@ TEST(getIconQuads, normal) { SymbolLayoutProperties::Evaluated layout; Anchor anchor(2.0, 3.0, 0.0, 0.5f, 0); ImagePosition image = { - mapbox::Bin(-1, 15, 11, 0, 0), + mapbox::Bin(-1, 15, 11, 0, 0, 0, 0), style::Image::Impl("test", PremultipliedImage({1,1}), 1.0) }; @@ -38,7 +38,7 @@ TEST(getIconQuads, normal) { TEST(getIconQuads, style) { Anchor anchor(0.0, 0.0, 0.0, 0.5f, 0); ImagePosition image = { - mapbox::Bin(-1, 20, 20, 0, 0), + mapbox::Bin(-1, 20, 20, 0, 0, 0, 0), style::Image::Impl("test", PremultipliedImage({1,1}), 1.0) }; -- cgit v1.2.1