fix: test_int print the right value

This commit is contained in:
starnakin 2023-06-18 15:21:02 +02:00
parent 8eea6251ce
commit 5984847cfe

View File

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