From 20cda07eefb900e2e2f3bea6da6cc1794ac16927 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 9 May 2019 10:48:31 -0400 Subject: [PATCH] Minor grammatical thing ("an integer" vs "a integer") --- src/stage2_build_tape.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stage2_build_tape.cpp b/src/stage2_build_tape.cpp index e01e0e342..e053ebb63 100644 --- a/src/stage2_build_tape.cpp +++ b/src/stage2_build_tape.cpp @@ -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("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