aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma
diff options
context:
space:
mode:
authorDimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-31 14:02:21 +0200
committerLasse Collin <lasse.collin@tukaani.org>2023-08-01 18:44:02 +0300
commit0db6fbe0be1545a4f25fcd6993371155b37bbb26 (patch)
treecea60902967897163026cbc7a37055114e431e1a /src/liblzma/lzma
parentUpdate .gitignore. (diff)
downloadxz-0db6fbe0be1545a4f25fcd6993371155b37bbb26.tar.xz
Docs: Fix typos found by codespell
Diffstat (limited to 'src/liblzma/lzma')
-rw-r--r--src/liblzma/lzma/lzma_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c
index dc62f44f..559c63ed 100644
--- a/src/liblzma/lzma/lzma_encoder.c
+++ b/src/liblzma/lzma/lzma_encoder.c
@@ -633,7 +633,7 @@ lzma_lzma_encoder_create(void **coder_ptr, const lzma_allocator *allocator,
// Currently the maximum encoder dictionary size
// is 1.5 GiB due to lz_encoder.c and here we need
// to be below 2 GiB to make the rounded up value
- // fit in an uint32_t and avoid an infite while-loop
+ // fit in an uint32_t and avoid an infinite while-loop
// (and undefined behavior due to a too large shift).
// So do the same check as in LZ encoder,
// limiting to 1.5 GiB.
@@ -673,7 +673,7 @@ lzma_lzma_encoder_create(void **coder_ptr, const lzma_allocator *allocator,
coder->uncomp_size = 0;
coder->uncomp_size_ptr = NULL;
- // Output size limitting is disabled by default.
+ // Output size limiting is disabled by default.
coder->out_limit = 0;
// Determine if end marker is wanted: