fix: test_int print the right value
This commit is contained in:
parent
8eea6251ce
commit
5984847cfe
@ -33,7 +33,7 @@ test_int(value, reach_value, description)
|
|||||||
value_str = itoa(value);
|
value_str = itoa(value);
|
||||||
if (value_str == 0)
|
if (value_str == 0)
|
||||||
return (0);
|
return (0);
|
||||||
reach_value_str = itoa(value);
|
reach_value_str = itoa(reach_value);
|
||||||
if (reach_value_str == 0)
|
if (reach_value_str == 0)
|
||||||
{
|
{
|
||||||
free(value_str);
|
free(value_str);
|
||||||
|
Loading…
Reference in New Issue
Block a user