mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
test/capi: --compiler warning on MSVC
warning C4305: 'argument': truncation from 'double' to 'float'
This commit is contained in:
parent
5f4468236c
commit
a51c067894
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ TEST_CASE("Save svg into tvg", "[capiSaver]")
|
|||
REQUIRE(picture);
|
||||
REQUIRE(tvg_picture_load(picture, TEST_DIR"/logo.svg") == TVG_RESULT_SUCCESS);
|
||||
REQUIRE(tvg_picture_set_size(picture, 222, 333) == TVG_RESULT_SUCCESS);
|
||||
REQUIRE(tvg_paint_translate(picture, 123.45, 54.321) == TVG_RESULT_SUCCESS);
|
||||
REQUIRE(tvg_paint_translate(picture, 123.45f, 54.321f) == TVG_RESULT_SUCCESS);
|
||||
|
||||
Tvg_Saver* saver = tvg_saver_new();
|
||||
REQUIRE(saver);
|
||||
|
|
Loading…
Add table
Reference in a new issue