aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@tomtom.com>2022-07-31 17:47:00 +0200
committerDominique Pelle <dominique.pelle@tomtom.com>2022-07-31 17:47:00 +0200
commit33474853075599c69cb95b8312fe4981411fa346 (patch)
tree6e7e26af5985468629bd70439106a61db662acab /lib
parentd343a3685233f3c46c20bfeb7e8674de9d8175fc (diff)
downloadlz4-33474853075599c69cb95b8312fe4981411fa346.tar.gz
fix: various typos
Diffstat (limited to 'lib')
-rw-r--r--lib/README.md2
-rw-r--r--lib/dll/example/README.md2
-rw-r--r--lib/lz4.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/README.md b/lib/README.md
index d08e0f1d..244d65ce 100644
--- a/lib/README.md
+++ b/lib/README.md
@@ -96,7 +96,7 @@ The following build macro can be selected to adjust source code behavior at comp
by using bitcount instructions, generally implemented as fast single instructions in many cpus.
In case the target cpus doesn't support it, or compiler intrinsic doesn't work, or feature bad performance,
it's possible to use an optimized software path instead.
- This is achieved by setting this build macros .
+ This is achieved by setting this build macros.
In most cases, it's not expected to be necessary,
but it can be legitimately considered for less common platforms.
diff --git a/lib/dll/example/README.md b/lib/dll/example/README.md
index 6d932480..b93914ba 100644
--- a/lib/dll/example/README.md
+++ b/lib/dll/example/README.md
@@ -51,7 +51,7 @@ The compiled executable will require LZ4 DLL which is available at `dll\msys-lz4
Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
dynamic LZ4 library from the `dll` directory. The solution works with Visual C++
2010 or newer. When one will open the solution with Visual C++ newer than 2010
-then the solution will upgraded to the current version.
+then the solution will be upgraded to the current version.
#### Using LZ4 DLL with Visual C++
diff --git a/lib/lz4.c b/lib/lz4.c
index 0dd337a3..9d85ba17 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -538,7 +538,7 @@ static unsigned LZ4_NbCommonBytes (reg_t val)
* including _tzcnt_u64. Therefore, we need to neuter the _tzcnt_u64 code path for ARM64EC.
****************************************************************************************************/
# if defined(__clang__) && (__clang_major__ < 10)
- /* Avoid undefined clang-cl intrinics issue.
+ /* Avoid undefined clang-cl intrinsics issue.
* See https://github.com/lz4/lz4/pull/1017 for details. */
return (unsigned)__builtin_ia32_tzcnt_u64(val) >> 3;
# else