tests: resolve different type comparison warning

This commit is contained in:
Mira Grudzinska 2024-06-19 20:12:45 +02:00 committed by Hermet Park
parent 0a53090a87
commit a61286afaa

View file

@ -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>";