mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Update cJSON_Utils.c
fix typo
This commit is contained in:
parent
c06d8264d0
commit
ea3a6dcd69
@ -109,7 +109,7 @@ static int compare_strings(const unsigned char *string1, const unsigned char *st
|
||||
/* securely comparison of floating-point variables */
|
||||
static cJSON_bool compare_double(double a, double b)
|
||||
{
|
||||
return (fabs(a - b) <= a * CJSON_DOUBLE_PRECIION);
|
||||
return (fabs(a - b) <= a * CJSON_DOUBLE_PRECISION);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user