Test: Fix type casting

This commit is contained in:
Roger A. Light 2026-04-27 18:25:43 +01:00 committed by Roger Light
parent 618efad893
commit ea69f5110b

View file

@ -152,7 +152,7 @@ static void bytes_read_helper(
int rc; int rc;
int i; int i;
value = malloc(count); value = malloc((size_t)count);
CU_ASSERT_PTR_NOT_NULL(value); CU_ASSERT_PTR_NOT_NULL(value);
if(!value){ if(!value){
return; return;