File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ FOSSIL_TEST(c_test_memory_stats) {
240240 size_t allocs = 0 , bytes = 0 ;
241241 fossil_sys_memory_stats (& allocs , & bytes );
242242 // Just check that the function runs and returns something
243- ASSUME_ITS_TRUE (allocs >= 0 );
243+ ASSUME_ITS_TRUE (allocs >= ( size_t ) 0 );
244244 ASSUME_ITS_TRUE (bytes >= 0 );
245245}
246246
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ FOSSIL_TEST(cpp_test_memory_class_stats) {
410410 size_t allocs = 0 , bytes = 0 ;
411411 fossil::sys::Memory::stats (&allocs, &bytes);
412412 // Just check that stats call does not crash and returns something
413- ASSUME_ITS_TRUE (allocs >= 0 );
413+ ASSUME_ITS_TRUE (allocs >= ( size_t ) 0 );
414414 ASSUME_ITS_TRUE (bytes >= 0 );
415415}
416416
You can’t perform that action at this time.
0 commit comments