mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Test: Fix type casting
This commit is contained in:
parent
618efad893
commit
ea69f5110b
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue