Procházet zdrojové kódy

docs: fix simple typo, sanityzer -> sanitizer

There is a small typo in src/utils/gravity_utils.c.

Should read `sanitizer` rather than `sanityzer`.
Tim Gates před 4 roky
rodič
revize
62266dd115
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/utils/gravity_utils.c

+ 2 - 2
src/utils/gravity_utils.c

@@ -630,7 +630,7 @@ int64_t number_from_hex (const char *s, uint32_t len) {
     // LLONG_MAX  = +9223372036854775807
     // HEX(9223372036854775808) = 346DC5D638865
     
-    // sanity check on len in order to workaround an address sanityzer error
+    // sanity check on len in order to workaround an address sanitizer error
     if (len > 24) return 0;
     return (int64_t) strtoll(s, NULL, 16);
 }
@@ -640,7 +640,7 @@ int64_t number_from_oct (const char *s, uint32_t len) {
     // LLONG_MAX  = +9223372036854775807
     // OCT(9223372036854775808) = 32155613530704145
     
-    // sanity check on len in order to workaround an address sanityzer error
+    // sanity check on len in order to workaround an address sanitizer error
     if (len > 24) return 0;
     return (int64_t) strtoll(s, NULL, 8);
 }