Update cJSON_Utils.c

fix typo
This commit is contained in:
ChenYuan 2019-12-07 20:24:07 +08:00 committed by GitHub
parent c06d8264d0
commit ea3a6dcd69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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