Explorar o código

Update cJSON_Utils.c

fix typo
ChenYuan %!s(int64=5) %!d(string=hai) anos
pai
achega
ea3a6dcd69
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cJSON_Utils.c

+ 1 - 1
cJSON_Utils.c

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