Minor grammatical thing ("an integer" vs "a integer")

This commit is contained in:
Daniel Lemire
2019-05-09 10:48:31 -04:00
committed by GitHub
parent c1975166a0
commit 20cda07eef
+2 -2
View File
@@ -28,12 +28,12 @@ really_inline bool is_valid_true_atom(const uint8_t *loc) {
WARN_UNUSED
really_inline bool is_valid_false_atom(const uint8_t *loc) {
// We have to use a integer constant because the space in the cast
// We have to use an integer constant because the space in the cast
// below would lead to values illegally being qualified
// uint64_t fv = *reinterpret_cast<const uint64_t *>("false ");
// using this constant (that is the same false) but nulls out the
// unused bits solves that
uint64_t fv = 0x00000065736c6166;
uint64_t fv = 0x00000065736c6166; // takes into account endianness
uint64_t mask5 = 0x000000ffffffffff;
// we can't use the 32 bit value for checking for errors otherwise
// the last character of false (it being 5 byte long!) would be