mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
tests: resolve different type comparison warning
This commit is contained in:
parent
0a53090a87
commit
a61286afaa
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ TEST_CASE("Load/unload TTF file from a memory", "[capiText]")
|
|||
fseek(file, 0, SEEK_SET);
|
||||
char* data = (char*)malloc(data_size);
|
||||
REQUIRE(data);
|
||||
REQUIRE(fread(data, 1, data_size, file) == data_size);
|
||||
REQUIRE(fread(data, 1, data_size, file) > 0);
|
||||
|
||||
static const char* svg = "<svg height=\"1000\" viewBox=\"0 0 600 600\" ></svg>";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue